function Pt(e, t) {
  const n = /* @__PURE__ */ Object.create(null), r = e.split(",");
  for (let o = 0; o < r.length; o++)
    n[r[o]] = !0;
  return t ? (o) => !!n[o.toLowerCase()] : (o) => !!n[o];
}
const fe = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, pn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], xe = () => {
}, Du = () => !1, lf = /^on[^a-z]/, nr = (e) => lf.test(e), Mr = (e) => e.startsWith("onUpdate:"), pe = Object.assign, wi = (e, t) => {
  const n = e.indexOf(t);
  n > -1 && e.splice(n, 1);
}, cf = Object.prototype.hasOwnProperty, re = (e, t) => cf.call(e, t), U = Array.isArray, Kt = (e) => Zr(e) === "[object Map]", Tu = (e) => Zr(e) === "[object Set]", Z = (e) => typeof e == "function", ge = (e) => typeof e == "string", Ni = (e) => typeof e == "symbol", ce = (e) => e !== null && typeof e == "object", xi = (e) => ce(e) && Z(e.then) && Z(e.catch), Au = Object.prototype.toString, Zr = (e) => Au.call(e), Di = (e) => Zr(e).slice(8, -1), Su = (e) => Zr(e) === "[object Object]", Ti = (e) => ge(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Tr = /* @__PURE__ */ Pt(
  // the leading comma is intentional so empty string "" is also included
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
), ff = /* @__PURE__ */ Pt(
  "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
), Jr = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (n) => t[n] || (t[n] = e(n));
}, df = /-(\w)/g, rt = Jr((e) => e.replace(df, (t, n) => n ? n.toUpperCase() : "")), pf = /\B([A-Z])/g, Dt = Jr(
  (e) => e.replace(pf, "-$1").toLowerCase()
), Jt = Jr(
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
), Rt = Jr(
  (e) => e ? `on${Jt(e)}` : ""
), Yn = (e, t) => !Object.is(e, t), An = (e, t) => {
  for (let n = 0; n < e.length; n++)
    e[n](t);
}, Br = (e, t, n) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: n
  });
}, vf = (e) => {
  const t = parseFloat(e);
  return isNaN(t) ? e : t;
}, hf = (e) => {
  const t = ge(e) ? Number(e) : NaN;
  return isNaN(t) ? e : t;
};
let hs;
const jr = () => hs || (hs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Ai(e) {
  if (U(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const r = e[n], o = ge(r) ? bf(r) : Ai(r);
      if (o)
        for (const i in o)
          t[i] = o[i];
    }
    return t;
  } else {
    if (ge(e))
      return e;
    if (ce(e))
      return e;
  }
}
const gf = /;(?![^(]*\))/g, mf = /:([^]+)/, yf = /\/\*[^]*?\*\//g;
function bf(e) {
  const t = {};
  return e.replace(yf, "").split(gf).forEach((n) => {
    if (n) {
      const r = n.split(mf);
      r.length > 1 && (t[r[0].trim()] = r[1].trim());
    }
  }), t;
}
function Si(e) {
  let t = "";
  if (ge(e))
    t = e;
  else if (U(e))
    for (let n = 0; n < e.length; n++) {
      const r = Si(e[n]);
      r && (t += r + " ");
    }
  else if (ce(e))
    for (const n in e)
      e[n] && (t += n + " ");
  return t.trim();
}
const _f = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Ef = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", $f = /* @__PURE__ */ Pt(_f), Of = /* @__PURE__ */ Pt(Ef), Cf = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", wf = /* @__PURE__ */ Pt(Cf);
function Pu(e) {
  return !!e || e === "";
}
const gs = (e) => ge(e) ? e : e == null ? "" : U(e) || ce(e) && (e.toString === Au || !Z(e.toString)) ? JSON.stringify(e, Fu, 2) : String(e), Fu = (e, t) => t && t.__v_isRef ? Fu(e, t.value) : Kt(t) ? {
  [`Map(${t.size})`]: [...t.entries()].reduce((n, [r, o]) => (n[`${r} =>`] = o, n), {})
} : Tu(t) ? {
  [`Set(${t.size})`]: [...t.values()]
} : ce(t) && !U(t) && !Su(t) ? String(t) : t;
function Go(e, ...t) {
  console.warn(`[Vue warn] ${e}`, ...t);
}
let We;
class Nf {
  constructor(t = !1) {
    this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = We, !t && We && (this.index = (We.scopes || (We.scopes = [])).push(
      this
    ) - 1);
  }
  get active() {
    return this._active;
  }
  run(t) {
    if (this._active) {
      const n = We;
      try {
        return We = this, t();
      } finally {
        We = n;
      }
    } else
      process.env.NODE_ENV !== "production" && Go("cannot run an inactive effect scope.");
  }
  /**
   * This should only be called on non-detached scopes
   * @internal
   */
  on() {
    We = this;
  }
  /**
   * This should only be called on non-detached scopes
   * @internal
   */
  off() {
    We = this.parent;
  }
  stop(t) {
    if (this._active) {
      let n, r;
      for (n = 0, r = this.effects.length; n < r; n++)
        this.effects[n].stop();
      for (n = 0, r = this.cleanups.length; n < r; n++)
        this.cleanups[n]();
      if (this.scopes)
        for (n = 0, r = this.scopes.length; n < r; n++)
          this.scopes[n].stop(!0);
      if (!this.detached && this.parent && !t) {
        const o = this.parent.scopes.pop();
        o && o !== this && (this.parent.scopes[this.index] = o, o.index = this.index);
      }
      this.parent = void 0, this._active = !1;
    }
  }
}
function xf(e, t = We) {
  t && t.active && t.effects.push(e);
}
function Df() {
  return We;
}
const Gn = (e) => {
  const t = new Set(e);
  return t.w = 0, t.n = 0, t;
}, Iu = (e) => (e.w & Tt) > 0, Mu = (e) => (e.n & Tt) > 0, Tf = ({ deps: e }) => {
  if (e.length)
    for (let t = 0; t < e.length; t++)
      e[t].w |= Tt;
}, Af = (e) => {
  const { deps: t } = e;
  if (t.length) {
    let n = 0;
    for (let r = 0; r < t.length; r++) {
      const o = t[r];
      Iu(o) && !Mu(o) ? o.delete(e) : t[n++] = o, o.w &= ~Tt, o.n &= ~Tt;
    }
    t.length = n;
  }
}, Lr = /* @__PURE__ */ new WeakMap();
let Bn = 0, Tt = 1;
const qo = 30;
let Be;
const Wt = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Zo = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
class Pi {
  constructor(t, n = null, r) {
    this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, xf(this, r);
  }
  run() {
    if (!this.active)
      return this.fn();
    let t = Be, n = Nt;
    for (; t; ) {
      if (t === this)
        return;
      t = t.parent;
    }
    try {
      return this.parent = Be, Be = this, Nt = !0, Tt = 1 << ++Bn, Bn <= qo ? Tf(this) : ms(this), this.fn();
    } finally {
      Bn <= qo && Af(this), Tt = 1 << --Bn, Be = this.parent, Nt = n, this.parent = void 0, this.deferStop && this.stop();
    }
  }
  stop() {
    Be === this ? this.deferStop = !0 : this.active && (ms(this), this.onStop && this.onStop(), this.active = !1);
  }
}
function ms(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++)
      t[n].delete(e);
    t.length = 0;
  }
}
let Nt = !0;
const Bu = [];
function en() {
  Bu.push(Nt), Nt = !1;
}
function tn() {
  const e = Bu.pop();
  Nt = e === void 0 ? !0 : e;
}
function De(e, t, n) {
  if (Nt && Be) {
    let r = Lr.get(e);
    r || Lr.set(e, r = /* @__PURE__ */ new Map());
    let o = r.get(n);
    o || r.set(n, o = Gn());
    const i = process.env.NODE_ENV !== "production" ? { effect: Be, target: e, type: t, key: n } : void 0;
    Jo(o, i);
  }
}
function Jo(e, t) {
  let n = !1;
  Bn <= qo ? Mu(e) || (e.n |= Tt, n = !Iu(e)) : n = !e.has(Be), n && (e.add(Be), Be.deps.push(e), process.env.NODE_ENV !== "production" && Be.onTrack && Be.onTrack(
    pe(
      {
        effect: Be
      },
      t
    )
  ));
}
function ot(e, t, n, r, o, i) {
  const s = Lr.get(e);
  if (!s)
    return;
  let a = [];
  if (t === "clear")
    a = [...s.values()];
  else if (n === "length" && U(e)) {
    const l = Number(r);
    s.forEach((c, f) => {
      (f === "length" || f >= l) && a.push(c);
    });
  } else
    switch (n !== void 0 && a.push(s.get(n)), t) {
      case "add":
        U(e) ? Ti(n) && a.push(s.get("length")) : (a.push(s.get(Wt)), Kt(e) && a.push(s.get(Zo)));
        break;
      case "delete":
        U(e) || (a.push(s.get(Wt)), Kt(e) && a.push(s.get(Zo)));
        break;
      case "set":
        Kt(e) && a.push(s.get(Wt));
        break;
    }
  const u = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: n, newValue: r, oldValue: o, oldTarget: i } : void 0;
  if (a.length === 1)
    a[0] && (process.env.NODE_ENV !== "production" ? dn(a[0], u) : dn(a[0]));
  else {
    const l = [];
    for (const c of a)
      c && l.push(...c);
    process.env.NODE_ENV !== "production" ? dn(Gn(l), u) : dn(Gn(l));
  }
}
function dn(e, t) {
  const n = U(e) ? e : [...e];
  for (const r of n)
    r.computed && ys(r, t);
  for (const r of n)
    r.computed || ys(r, t);
}
function ys(e, t) {
  (e !== Be || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(pe({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
}
function Sf(e, t) {
  var n;
  return (n = Lr.get(e)) == null ? void 0 : n.get(t);
}
const Pf = /* @__PURE__ */ Pt("__proto__,__v_isRef,__isVue"), ju = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ni)
), Ff = /* @__PURE__ */ Xr(), If = /* @__PURE__ */ Xr(!1, !0), Mf = /* @__PURE__ */ Xr(!0), Bf = /* @__PURE__ */ Xr(!0, !0), bs = /* @__PURE__ */ jf();
function jf() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...n) {
      const r = Q(this);
      for (let i = 0, s = this.length; i < s; i++)
        De(r, "get", i + "");
      const o = r[t](...n);
      return o === -1 || o === !1 ? r[t](...n.map(Q)) : o;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...n) {
      en();
      const r = Q(this)[t].apply(this, n);
      return tn(), r;
    };
  }), e;
}
function Lf(e) {
  const t = Q(this);
  return De(t, "has", e), t.hasOwnProperty(e);
}
function Xr(e = !1, t = !1) {
  return function(r, o, i) {
    if (o === "__v_isReactive")
      return !e;
    if (o === "__v_isReadonly")
      return e;
    if (o === "__v_isShallow")
      return t;
    if (o === "__v_raw" && i === (e ? t ? Ku : zu : t ? Uu : Hu).get(r))
      return r;
    const s = U(r);
    if (!e) {
      if (s && re(bs, o))
        return Reflect.get(bs, o, i);
      if (o === "hasOwnProperty")
        return Lf;
    }
    const a = Reflect.get(r, o, i);
    return (Ni(o) ? ju.has(o) : Pf(o)) || (e || De(r, "get", o), t) ? a : _e(a) ? s && Ti(o) ? a : a.value : ce(a) ? e ? Ii(a) : to(a) : a;
  };
}
const Vf = /* @__PURE__ */ Lu(), Rf = /* @__PURE__ */ Lu(!0);
function Lu(e = !1) {
  return function(n, r, o, i) {
    let s = n[r];
    if (At(s) && _e(s) && !_e(o))
      return !1;
    if (!e && (!Vr(o) && !At(o) && (s = Q(s), o = Q(o)), !U(n) && _e(s) && !_e(o)))
      return s.value = o, !0;
    const a = U(n) && Ti(r) ? Number(r) < n.length : re(n, r), u = Reflect.set(n, r, o, i);
    return n === Q(i) && (a ? Yn(o, s) && ot(n, "set", r, o, s) : ot(n, "add", r, o)), u;
  };
}
function kf(e, t) {
  const n = re(e, t), r = e[t], o = Reflect.deleteProperty(e, t);
  return o && n && ot(e, "delete", t, void 0, r), o;
}
function Hf(e, t) {
  const n = Reflect.has(e, t);
  return (!Ni(t) || !ju.has(t)) && De(e, "has", t), n;
}
function Uf(e) {
  return De(e, "iterate", U(e) ? "length" : Wt), Reflect.ownKeys(e);
}
const Vu = {
  get: Ff,
  set: Vf,
  deleteProperty: kf,
  has: Hf,
  ownKeys: Uf
}, Ru = {
  get: Mf,
  set(e, t) {
    return process.env.NODE_ENV !== "production" && Go(
      `Set operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  },
  deleteProperty(e, t) {
    return process.env.NODE_ENV !== "production" && Go(
      `Delete operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  }
}, zf = /* @__PURE__ */ pe(
  {},
  Vu,
  {
    get: If,
    set: Rf
  }
), Kf = /* @__PURE__ */ pe(
  {},
  Ru,
  {
    get: Bf
  }
), Fi = (e) => e, Qr = (e) => Reflect.getPrototypeOf(e);
function mr(e, t, n = !1, r = !1) {
  e = e.__v_raw;
  const o = Q(e), i = Q(t);
  n || (t !== i && De(o, "get", t), De(o, "get", i));
  const { has: s } = Qr(o), a = r ? Fi : n ? Mi : qn;
  if (s.call(o, t))
    return a(e.get(t));
  if (s.call(o, i))
    return a(e.get(i));
  e !== o && e.get(t);
}
function yr(e, t = !1) {
  const n = this.__v_raw, r = Q(n), o = Q(e);
  return t || (e !== o && De(r, "has", e), De(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o);
}
function br(e, t = !1) {
  return e = e.__v_raw, !t && De(Q(e), "iterate", Wt), Reflect.get(e, "size", e);
}
function _s(e) {
  e = Q(e);
  const t = Q(this);
  return Qr(t).has.call(t, e) || (t.add(e), ot(t, "add", e, e)), this;
}
function Es(e, t) {
  t = Q(t);
  const n = Q(this), { has: r, get: o } = Qr(n);
  let i = r.call(n, e);
  i ? process.env.NODE_ENV !== "production" && ku(n, r, e) : (e = Q(e), i = r.call(n, e));
  const s = o.call(n, e);
  return n.set(e, t), i ? Yn(t, s) && ot(n, "set", e, t, s) : ot(n, "add", e, t), this;
}
function $s(e) {
  const t = Q(this), { has: n, get: r } = Qr(t);
  let o = n.call(t, e);
  o ? process.env.NODE_ENV !== "production" && ku(t, n, e) : (e = Q(e), o = n.call(t, e));
  const i = r ? r.call(t, e) : void 0, s = t.delete(e);
  return o && ot(t, "delete", e, void 0, i), s;
}
function Os() {
  const e = Q(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? Kt(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
  return t && ot(e, "clear", void 0, void 0, n), r;
}
function _r(e, t) {
  return function(r, o) {
    const i = this, s = i.__v_raw, a = Q(s), u = t ? Fi : e ? Mi : qn;
    return !e && De(a, "iterate", Wt), s.forEach((l, c) => r.call(o, u(l), u(c), i));
  };
}
function Er(e, t, n) {
  return function(...r) {
    const o = this.__v_raw, i = Q(o), s = Kt(i), a = e === "entries" || e === Symbol.iterator && s, u = e === "keys" && s, l = o[e](...r), c = n ? Fi : t ? Mi : qn;
    return !t && De(
      i,
      "iterate",
      u ? Zo : Wt
    ), {
      // iterator protocol
      next() {
        const { value: f, done: p } = l.next();
        return p ? { value: f, done: p } : {
          value: a ? [c(f[0]), c(f[1])] : c(f),
          done: p
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function mt(e) {
  return function(...t) {
    if (process.env.NODE_ENV !== "production") {
      const n = t[0] ? `on key "${t[0]}" ` : "";
      console.warn(
        `${Jt(e)} operation ${n}failed: target is readonly.`,
        Q(this)
      );
    }
    return e === "delete" ? !1 : this;
  };
}
function Wf() {
  const e = {
    get(i) {
      return mr(this, i);
    },
    get size() {
      return br(this);
    },
    has: yr,
    add: _s,
    set: Es,
    delete: $s,
    clear: Os,
    forEach: _r(!1, !1)
  }, t = {
    get(i) {
      return mr(this, i, !1, !0);
    },
    get size() {
      return br(this);
    },
    has: yr,
    add: _s,
    set: Es,
    delete: $s,
    clear: Os,
    forEach: _r(!1, !0)
  }, n = {
    get(i) {
      return mr(this, i, !0);
    },
    get size() {
      return br(this, !0);
    },
    has(i) {
      return yr.call(this, i, !0);
    },
    add: mt("add"),
    set: mt("set"),
    delete: mt("delete"),
    clear: mt("clear"),
    forEach: _r(!0, !1)
  }, r = {
    get(i) {
      return mr(this, i, !0, !0);
    },
    get size() {
      return br(this, !0);
    },
    has(i) {
      return yr.call(this, i, !0);
    },
    add: mt("add"),
    set: mt("set"),
    delete: mt("delete"),
    clear: mt("clear"),
    forEach: _r(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((i) => {
    e[i] = Er(
      i,
      !1,
      !1
    ), n[i] = Er(
      i,
      !0,
      !1
    ), t[i] = Er(
      i,
      !1,
      !0
    ), r[i] = Er(
      i,
      !0,
      !0
    );
  }), [
    e,
    n,
    t,
    r
  ];
}
const [
  Yf,
  Gf,
  qf,
  Zf
] = /* @__PURE__ */ Wf();
function eo(e, t) {
  const n = t ? e ? Zf : qf : e ? Gf : Yf;
  return (r, o, i) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
    re(n, o) && o in r ? n : r,
    o,
    i
  );
}
const Jf = {
  get: /* @__PURE__ */ eo(!1, !1)
}, Xf = {
  get: /* @__PURE__ */ eo(!1, !0)
}, Qf = {
  get: /* @__PURE__ */ eo(!0, !1)
}, ed = {
  get: /* @__PURE__ */ eo(!0, !0)
};
function ku(e, t, n) {
  const r = Q(n);
  if (r !== n && t.call(e, r)) {
    const o = Di(e);
    console.warn(
      `Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
    );
  }
}
const Hu = /* @__PURE__ */ new WeakMap(), Uu = /* @__PURE__ */ new WeakMap(), zu = /* @__PURE__ */ new WeakMap(), Ku = /* @__PURE__ */ new WeakMap();
function td(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function nd(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : td(Di(e));
}
function to(e) {
  return At(e) ? e : no(
    e,
    !1,
    Vu,
    Jf,
    Hu
  );
}
function rd(e) {
  return no(
    e,
    !1,
    zf,
    Xf,
    Uu
  );
}
function Ii(e) {
  return no(
    e,
    !0,
    Ru,
    Qf,
    zu
  );
}
function jn(e) {
  return no(
    e,
    !0,
    Kf,
    ed,
    Ku
  );
}
function no(e, t, n, r, o) {
  if (!ce(e))
    return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
  if (e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const i = o.get(e);
  if (i)
    return i;
  const s = nd(e);
  if (s === 0)
    return e;
  const a = new Proxy(
    e,
    s === 2 ? r : n
  );
  return o.set(e, a), a;
}
function Yt(e) {
  return At(e) ? Yt(e.__v_raw) : !!(e && e.__v_isReactive);
}
function At(e) {
  return !!(e && e.__v_isReadonly);
}
function Vr(e) {
  return !!(e && e.__v_isShallow);
}
function Rr(e) {
  return Yt(e) || At(e);
}
function Q(e) {
  const t = e && e.__v_raw;
  return t ? Q(t) : e;
}
function Wu(e) {
  return Br(e, "__v_skip", !0), e;
}
const qn = (e) => ce(e) ? to(e) : e, Mi = (e) => ce(e) ? Ii(e) : e;
function Yu(e) {
  Nt && Be && (e = Q(e), process.env.NODE_ENV !== "production" ? Jo(e.dep || (e.dep = Gn()), {
    target: e,
    type: "get",
    key: "value"
  }) : Jo(e.dep || (e.dep = Gn())));
}
function Gu(e, t) {
  e = Q(e);
  const n = e.dep;
  n && (process.env.NODE_ENV !== "production" ? dn(n, {
    target: e,
    type: "set",
    key: "value",
    newValue: t
  }) : dn(n));
}
function _e(e) {
  return !!(e && e.__v_isRef === !0);
}
function je(e) {
  return od(e, !1);
}
function od(e, t) {
  return _e(e) ? e : new id(e, t);
}
class id {
  constructor(t, n) {
    this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : Q(t), this._value = n ? t : qn(t);
  }
  get value() {
    return Yu(this), this._value;
  }
  set value(t) {
    const n = this.__v_isShallow || Vr(t) || At(t);
    t = n ? t : Q(t), Yn(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : qn(t), Gu(this, t));
  }
}
function Qe(e) {
  return _e(e) ? e.value : e;
}
const sd = {
  get: (e, t, n) => Qe(Reflect.get(e, t, n)),
  set: (e, t, n, r) => {
    const o = e[t];
    return _e(o) && !_e(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
  }
};
function qu(e) {
  return Yt(e) ? e : new Proxy(e, sd);
}
function ad(e) {
  process.env.NODE_ENV !== "production" && !Rr(e) && console.warn("toRefs() expects a reactive object but received a plain one.");
  const t = U(e) ? new Array(e.length) : {};
  for (const n in e)
    t[n] = ld(e, n);
  return t;
}
class ud {
  constructor(t, n, r) {
    this._object = t, this._key = n, this._defaultValue = r, this.__v_isRef = !0;
  }
  get value() {
    const t = this._object[this._key];
    return t === void 0 ? this._defaultValue : t;
  }
  set value(t) {
    this._object[this._key] = t;
  }
  get dep() {
    return Sf(Q(this._object), this._key);
  }
}
function ld(e, t, n) {
  const r = e[t];
  return _e(r) ? r : new ud(
    e,
    t,
    n
  );
}
class cd {
  constructor(t, n, r, o) {
    this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this._dirty = !0, this.effect = new Pi(t, () => {
      this._dirty || (this._dirty = !0, Gu(this));
    }), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = r;
  }
  get value() {
    const t = Q(this);
    return Yu(t), (t._dirty || !t._cacheable) && (t._dirty = !1, t._value = t.effect.run()), t._value;
  }
  set value(t) {
    this._setter(t);
  }
}
function fd(e, t, n = !1) {
  let r, o;
  const i = Z(e);
  i ? (r = e, o = process.env.NODE_ENV !== "production" ? () => {
    console.warn("Write operation failed: computed value is readonly");
  } : xe) : (r = e.get, o = e.set);
  const s = new cd(r, o, i || !o, n);
  return process.env.NODE_ENV !== "production" && t && !n && (s.effect.onTrack = t.onTrack, s.effect.onTrigger = t.onTrigger), s;
}
const Gt = [];
function Ar(e) {
  Gt.push(e);
}
function Sr() {
  Gt.pop();
}
function A(e, ...t) {
  if (process.env.NODE_ENV === "production")
    return;
  en();
  const n = Gt.length ? Gt[Gt.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = dd();
  if (r)
    ft(
      r,
      n,
      11,
      [
        e + t.join(""),
        n && n.proxy,
        o.map(
          ({ vnode: i }) => `at <${fo(n, i.type)}>`
        ).join(`
`),
        o
      ]
    );
  else {
    const i = [`[Vue warn]: ${e}`, ...t];
    o.length && i.push(`
`, ...pd(o)), console.warn(...i);
  }
  tn();
}
function dd() {
  let e = Gt[Gt.length - 1];
  if (!e)
    return [];
  const t = [];
  for (; e; ) {
    const n = t[0];
    n && n.vnode === e ? n.recurseCount++ : t.push({
      vnode: e,
      recurseCount: 0
    });
    const r = e.component && e.component.parent;
    e = r && r.vnode;
  }
  return t;
}
function pd(e) {
  const t = [];
  return e.forEach((n, r) => {
    t.push(...r === 0 ? [] : [`
`], ...vd(n));
  }), t;
}
function vd({ vnode: e, recurseCount: t }) {
  const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${fo(
    e.component,
    e.type,
    r
  )}`, i = ">" + n;
  return e.props ? [o, ...hd(e.props), i] : [o + i];
}
function hd(e) {
  const t = [], n = Object.keys(e);
  return n.slice(0, 3).forEach((r) => {
    t.push(...Zu(r, e[r]));
  }), n.length > 3 && t.push(" ..."), t;
}
function Zu(e, t, n) {
  return ge(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : _e(t) ? (t = Zu(e, Q(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : Z(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = Q(t), n ? t : [`${e}=`, t]);
}
function gd(e, t) {
  process.env.NODE_ENV !== "production" && e !== void 0 && (typeof e != "number" ? A(`${t} is not a valid number - got ${JSON.stringify(e)}.`) : isNaN(e) && A(`${t} is NaN - the duration expression might be incorrect.`));
}
const Bi = {
  sp: "serverPrefetch hook",
  bc: "beforeCreate hook",
  c: "created hook",
  bm: "beforeMount hook",
  m: "mounted hook",
  bu: "beforeUpdate hook",
  u: "updated",
  bum: "beforeUnmount hook",
  um: "unmounted hook",
  a: "activated hook",
  da: "deactivated hook",
  ec: "errorCaptured hook",
  rtc: "renderTracked hook",
  rtg: "renderTriggered hook",
  0: "setup function",
  1: "render function",
  2: "watcher getter",
  3: "watcher callback",
  4: "watcher cleanup function",
  5: "native event handler",
  6: "component event handler",
  7: "vnode hook",
  8: "directive hook",
  9: "transition hook",
  10: "app errorHandler",
  11: "app warnHandler",
  12: "ref function",
  13: "async component loader",
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
};
function ft(e, t, n, r) {
  let o;
  try {
    o = r ? e(...r) : e();
  } catch (i) {
    ro(i, t, n);
  }
  return o;
}
function ze(e, t, n, r) {
  if (Z(e)) {
    const i = ft(e, t, n, r);
    return i && xi(i) && i.catch((s) => {
      ro(s, t, n);
    }), i;
  }
  const o = [];
  for (let i = 0; i < e.length; i++)
    o.push(ze(e[i], t, n, r));
  return o;
}
function ro(e, t, n, r = !0) {
  const o = t ? t.vnode : null;
  if (t) {
    let i = t.parent;
    const s = t.proxy, a = process.env.NODE_ENV !== "production" ? Bi[n] : n;
    for (; i; ) {
      const l = i.ec;
      if (l) {
        for (let c = 0; c < l.length; c++)
          if (l[c](e, s, a) === !1)
            return;
      }
      i = i.parent;
    }
    const u = t.appContext.config.errorHandler;
    if (u) {
      ft(
        u,
        null,
        10,
        [e, s, a]
      );
      return;
    }
  }
  md(e, n, o, r);
}
function md(e, t, n, r = !0) {
  if (process.env.NODE_ENV !== "production") {
    const o = Bi[t];
    if (n && Ar(n), A(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && Sr(), r)
      throw e;
    console.error(e);
  } else
    console.error(e);
}
let Zn = !1, Xo = !1;
const Ae = [];
let tt = 0;
const vn = [];
let et = null, $t = 0;
const Ju = /* @__PURE__ */ Promise.resolve();
let ji = null;
const yd = 100;
function oo(e) {
  const t = ji || Ju;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function bd(e) {
  let t = tt + 1, n = Ae.length;
  for (; t < n; ) {
    const r = t + n >>> 1;
    Jn(Ae[r]) < e ? t = r + 1 : n = r;
  }
  return t;
}
function io(e) {
  (!Ae.length || !Ae.includes(
    e,
    Zn && e.allowRecurse ? tt + 1 : tt
  )) && (e.id == null ? Ae.push(e) : Ae.splice(bd(e.id), 0, e), Xu());
}
function Xu() {
  !Zn && !Xo && (Xo = !0, ji = Ju.then(tl));
}
function _d(e) {
  const t = Ae.indexOf(e);
  t > tt && Ae.splice(t, 1);
}
function Qu(e) {
  U(e) ? vn.push(...e) : (!et || !et.includes(
    e,
    e.allowRecurse ? $t + 1 : $t
  )) && vn.push(e), Xu();
}
function Cs(e, t = Zn ? tt + 1 : 0) {
  for (process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()); t < Ae.length; t++) {
    const n = Ae[t];
    if (n && n.pre) {
      if (process.env.NODE_ENV !== "production" && Li(e, n))
        continue;
      Ae.splice(t, 1), t--, n();
    }
  }
}
function el(e) {
  if (vn.length) {
    const t = [...new Set(vn)];
    if (vn.length = 0, et) {
      et.push(...t);
      return;
    }
    for (et = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), et.sort((n, r) => Jn(n) - Jn(r)), $t = 0; $t < et.length; $t++)
      process.env.NODE_ENV !== "production" && Li(e, et[$t]) || et[$t]();
    et = null, $t = 0;
  }
}
const Jn = (e) => e.id == null ? 1 / 0 : e.id, Ed = (e, t) => {
  const n = Jn(e) - Jn(t);
  if (n === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return n;
};
function tl(e) {
  Xo = !1, Zn = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Ae.sort(Ed);
  const t = process.env.NODE_ENV !== "production" ? (n) => Li(e, n) : xe;
  try {
    for (tt = 0; tt < Ae.length; tt++) {
      const n = Ae[tt];
      if (n && n.active !== !1) {
        if (process.env.NODE_ENV !== "production" && t(n))
          continue;
        ft(n, null, 14);
      }
    }
  } finally {
    tt = 0, Ae.length = 0, el(e), Zn = !1, ji = null, (Ae.length || vn.length) && tl(e);
  }
}
function Li(e, t) {
  if (!e.has(t))
    e.set(t, 1);
  else {
    const n = e.get(t);
    if (n > yd) {
      const r = t.ownerInstance, o = r && Wi(r.type);
      return A(
        `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
      ), !0;
    } else
      e.set(t, n + 1);
  }
}
let xt = !1;
const ln = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && (jr().__VUE_HMR_RUNTIME__ = {
  createRecord: Ao(nl),
  rerender: Ao(Cd),
  reload: Ao(wd)
});
const Xt = /* @__PURE__ */ new Map();
function $d(e) {
  const t = e.type.__hmrId;
  let n = Xt.get(t);
  n || (nl(t, e.type), n = Xt.get(t)), n.instances.add(e);
}
function Od(e) {
  Xt.get(e.type.__hmrId).instances.delete(e);
}
function nl(e, t) {
  return Xt.has(e) ? !1 : (Xt.set(e, {
    initialDef: Hn(t),
    instances: /* @__PURE__ */ new Set()
  }), !0);
}
function Hn(e) {
  return Ll(e) ? e.__vccOpts : e;
}
function Cd(e, t) {
  const n = Xt.get(e);
  n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
    t && (r.render = t, Hn(r.type).render = t), r.renderCache = [], xt = !0, r.update(), xt = !1;
  }));
}
function wd(e, t) {
  const n = Xt.get(e);
  if (!n)
    return;
  t = Hn(t), ws(n.initialDef, t);
  const r = [...n.instances];
  for (const o of r) {
    const i = Hn(o.type);
    ln.has(i) || (i !== n.initialDef && ws(i, t), ln.add(i)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (ln.add(i), o.ceReload(t.styles), ln.delete(i)) : o.parent ? io(o.parent.update) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
      "[HMR] Root or manually mounted instance modified. Full reload required."
    );
  }
  Qu(() => {
    for (const o of r)
      ln.delete(
        Hn(o.type)
      );
  });
}
function ws(e, t) {
  pe(e, t);
  for (const n in e)
    n !== "__file" && !(n in t) && delete e[n];
}
function Ao(e) {
  return (t, n) => {
    try {
      return e(t, n);
    } catch (r) {
      console.error(r), console.warn(
        "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
      );
    }
  };
}
let nt, Ln = [], Qo = !1;
function rr(e, ...t) {
  nt ? nt.emit(e, ...t) : Qo || Ln.push({ event: e, args: t });
}
function rl(e, t) {
  var n, r;
  nt = e, nt ? (nt.enabled = !0, Ln.forEach(({ event: o, args: i }) => nt.emit(o, ...i)), Ln = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
  window.HTMLElement && // also exclude jsdom
  !((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
    rl(i, t);
  }), setTimeout(() => {
    nt || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Qo = !0, Ln = []);
  }, 3e3)) : (Qo = !0, Ln = []);
}
function Nd(e, t) {
  rr("app:init", e, t, {
    Fragment: Re,
    Text: ir,
    Comment: Se,
    Static: Pr
  });
}
function xd(e) {
  rr("app:unmount", e);
}
const Dd = /* @__PURE__ */ Vi(
  "component:added"
  /* COMPONENT_ADDED */
), ol = /* @__PURE__ */ Vi(
  "component:updated"
  /* COMPONENT_UPDATED */
), Td = /* @__PURE__ */ Vi(
  "component:removed"
  /* COMPONENT_REMOVED */
), Ad = (e) => {
  nt && typeof nt.cleanupBuffer == "function" && // remove the component if it wasn't buffered
  !nt.cleanupBuffer(e) && Td(e);
};
function Vi(e) {
  return (t) => {
    rr(
      e,
      t.appContext.app,
      t.uid,
      t.parent ? t.parent.uid : void 0,
      t
    );
  };
}
const Sd = /* @__PURE__ */ il(
  "perf:start"
  /* PERFORMANCE_START */
), Pd = /* @__PURE__ */ il(
  "perf:end"
  /* PERFORMANCE_END */
);
function il(e) {
  return (t, n, r) => {
    rr(e, t.appContext.app, t.uid, t, n, r);
  };
}
function Fd(e, t, n) {
  rr(
    "component:emit",
    e.appContext.app,
    e,
    t,
    n
  );
}
function Id(e, t, ...n) {
  if (e.isUnmounted)
    return;
  const r = e.vnode.props || fe;
  if (process.env.NODE_ENV !== "production") {
    const {
      emitsOptions: c,
      propsOptions: [f]
    } = e;
    if (c)
      if (!(t in c))
        (!f || !(Rt(t) in f)) && A(
          `Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Rt(t)}" prop.`
        );
      else {
        const p = c[t];
        Z(p) && (p(...n) || A(
          `Invalid event arguments: event validation failed for event "${t}".`
        ));
      }
  }
  let o = n;
  const i = t.startsWith("update:"), s = i && t.slice(7);
  if (s && s in r) {
    const c = `${s === "modelValue" ? "model" : s}Modifiers`, { number: f, trim: p } = r[c] || fe;
    p && (o = n.map((h) => ge(h) ? h.trim() : h)), f && (o = n.map(vf));
  }
  if (process.env.NODE_ENV !== "production" && Fd(e, t, o), process.env.NODE_ENV !== "production") {
    const c = t.toLowerCase();
    c !== t && r[Rt(c)] && A(
      `Event "${c}" is emitted in component ${fo(
        e,
        e.type
      )} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Dt(t)}" instead of "${t}".`
    );
  }
  let a, u = r[a = Rt(t)] || // also try camelCase event handler (#2249)
  r[a = Rt(rt(t))];
  !u && i && (u = r[a = Rt(Dt(t))]), u && ze(
    u,
    e,
    6,
    o
  );
  const l = r[a + "Once"];
  if (l) {
    if (!e.emitted)
      e.emitted = {};
    else if (e.emitted[a])
      return;
    e.emitted[a] = !0, ze(
      l,
      e,
      6,
      o
    );
  }
}
function sl(e, t, n = !1) {
  const r = t.emitsCache, o = r.get(e);
  if (o !== void 0)
    return o;
  const i = e.emits;
  let s = {}, a = !1;
  if (!Z(e)) {
    const u = (l) => {
      const c = sl(l, t, !0);
      c && (a = !0, pe(s, c));
    };
    !n && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
  }
  return !i && !a ? (ce(e) && r.set(e, null), null) : (U(i) ? i.forEach((u) => s[u] = null) : pe(s, i), ce(e) && r.set(e, s), s);
}
function so(e, t) {
  return !e || !nr(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), re(e, t[0].toLowerCase() + t.slice(1)) || re(e, Dt(t)) || re(e, t));
}
let Ce = null, al = null;
function kr(e) {
  const t = Ce;
  return Ce = e, al = e && e.type.__scopeId || null, t;
}
function _t(e, t = Ce, n) {
  if (!t || e._n)
    return e;
  const r = (...o) => {
    r._d && ks(-1);
    const i = kr(t);
    let s;
    try {
      s = e(...o);
    } finally {
      kr(i), r._d && ks(1);
    }
    return process.env.NODE_ENV !== "production" && ol(t), s;
  };
  return r._n = !0, r._c = !0, r._d = !0, r;
}
let ei = !1;
function Hr() {
  ei = !0;
}
function So(e) {
  const {
    type: t,
    vnode: n,
    proxy: r,
    withProxy: o,
    props: i,
    propsOptions: [s],
    slots: a,
    attrs: u,
    emit: l,
    render: c,
    renderCache: f,
    data: p,
    setupState: h,
    ctx: C,
    inheritAttrs: _
  } = e;
  let P, M;
  const q = kr(e);
  process.env.NODE_ENV !== "production" && (ei = !1);
  try {
    if (n.shapeFlag & 4) {
      const S = o || r;
      P = Ye(
        c.call(
          S,
          S,
          f,
          i,
          h,
          p,
          C
        )
      ), M = u;
    } else {
      const S = t;
      process.env.NODE_ENV !== "production" && u === i && Hr(), P = Ye(
        S.length > 1 ? S(
          i,
          process.env.NODE_ENV !== "production" ? {
            get attrs() {
              return Hr(), u;
            },
            slots: a,
            emit: l
          } : { attrs: u, slots: a, emit: l }
        ) : S(
          i,
          null
          /* we know it doesn't need it */
        )
      ), M = t.props ? u : Bd(u);
    }
  } catch (S) {
    Kn.length = 0, ro(S, e, 1), P = z(Se);
  }
  let j = P, J;
  if (process.env.NODE_ENV !== "production" && P.patchFlag > 0 && P.patchFlag & 2048 && ([j, J] = Md(P)), M && _ !== !1) {
    const S = Object.keys(M), { shapeFlag: te } = j;
    if (S.length) {
      if (te & 7)
        s && S.some(Mr) && (M = jd(
          M,
          s
        )), j = it(j, M);
      else if (process.env.NODE_ENV !== "production" && !ei && j.type !== Se) {
        const ee = Object.keys(u), R = [], W = [];
        for (let H = 0, I = ee.length; H < I; H++) {
          const F = ee[H];
          nr(F) ? Mr(F) || R.push(F[2].toLowerCase() + F.slice(3)) : W.push(F);
        }
        W.length && A(
          `Extraneous non-props attributes (${W.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
        ), R.length && A(
          `Extraneous non-emits event listeners (${R.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
        );
      }
    }
  }
  return n.dirs && (process.env.NODE_ENV !== "production" && !Ns(j) && A(
    "Runtime directive used on component with non-element root node. The directives will not function as intended."
  ), j = it(j), j.dirs = j.dirs ? j.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Ns(j) && A(
    "Component inside <Transition> renders non-element root node that cannot be animated."
  ), j.transition = n.transition), process.env.NODE_ENV !== "production" && J ? J(j) : P = j, kr(q), P;
}
const Md = (e) => {
  const t = e.children, n = e.dynamicChildren, r = ul(t);
  if (!r)
    return [e, void 0];
  const o = t.indexOf(r), i = n ? n.indexOf(r) : -1, s = (a) => {
    t[o] = a, n && (i > -1 ? n[i] = a : a.patchFlag > 0 && (e.dynamicChildren = [...n, a]));
  };
  return [Ye(r), s];
};
function ul(e) {
  let t;
  for (let n = 0; n < e.length; n++) {
    const r = e[n];
    if (Qt(r)) {
      if (r.type !== Se || r.children === "v-if") {
        if (t)
          return;
        t = r;
      }
    } else
      return;
  }
  return t;
}
const Bd = (e) => {
  let t;
  for (const n in e)
    (n === "class" || n === "style" || nr(n)) && ((t || (t = {}))[n] = e[n]);
  return t;
}, jd = (e, t) => {
  const n = {};
  for (const r in e)
    (!Mr(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
  return n;
}, Ns = (e) => e.shapeFlag & 7 || e.type === Se;
function Ld(e, t, n) {
  const { props: r, children: o, component: i } = e, { props: s, children: a, patchFlag: u } = t, l = i.emitsOptions;
  if (process.env.NODE_ENV !== "production" && (o || a) && xt || t.dirs || t.transition)
    return !0;
  if (n && u >= 0) {
    if (u & 1024)
      return !0;
    if (u & 16)
      return r ? xs(r, s, l) : !!s;
    if (u & 8) {
      const c = t.dynamicProps;
      for (let f = 0; f < c.length; f++) {
        const p = c[f];
        if (s[p] !== r[p] && !so(l, p))
          return !0;
      }
    }
  } else
    return (o || a) && (!a || !a.$stable) ? !0 : r === s ? !1 : r ? s ? xs(r, s, l) : !0 : !!s;
  return !1;
}
function xs(e, t, n) {
  const r = Object.keys(t);
  if (r.length !== Object.keys(e).length)
    return !0;
  for (let o = 0; o < r.length; o++) {
    const i = r[o];
    if (t[i] !== e[i] && !so(n, i))
      return !0;
  }
  return !1;
}
function Vd({ vnode: e, parent: t }, n) {
  for (; t && t.subTree === e; )
    (e = t.vnode).el = n, t = t.parent;
}
const Rd = (e) => e.__isSuspense;
function kd(e, t) {
  t && t.pendingBranch ? U(e) ? t.effects.push(...e) : t.effects.push(e) : Qu(e);
}
const $r = {};
function dt(e, t, n) {
  return process.env.NODE_ENV !== "production" && !Z(t) && A(
    "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
  ), ll(e, t, n);
}
function ll(e, t, { immediate: n, deep: r, flush: o, onTrack: i, onTrigger: s } = fe) {
  var a;
  process.env.NODE_ENV !== "production" && !t && (n !== void 0 && A(
    'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
  ), r !== void 0 && A(
    'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
  ));
  const u = (S) => {
    A(
      "Invalid watch source: ",
      S,
      "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
    );
  }, l = Df() === ((a = Oe) == null ? void 0 : a.scope) ? Oe : null;
  let c, f = !1, p = !1;
  if (_e(e) ? (c = () => e.value, f = Vr(e)) : Yt(e) ? (c = () => e, r = !0) : U(e) ? (p = !0, f = e.some((S) => Yt(S) || Vr(S)), c = () => e.map((S) => {
    if (_e(S))
      return S.value;
    if (Yt(S))
      return zt(S);
    if (Z(S))
      return ft(S, l, 2);
    process.env.NODE_ENV !== "production" && u(S);
  })) : Z(e) ? t ? c = () => ft(e, l, 2) : c = () => {
    if (!(l && l.isUnmounted))
      return h && h(), ze(
        e,
        l,
        3,
        [C]
      );
  } : (c = xe, process.env.NODE_ENV !== "production" && u(e)), t && r) {
    const S = c;
    c = () => zt(S());
  }
  let h, C = (S) => {
    h = j.onStop = () => {
      ft(S, l, 4);
    };
  }, _;
  if (Qn)
    if (C = xe, t ? n && ze(t, l, 3, [
      c(),
      p ? [] : void 0,
      C
    ]) : c(), o === "sync") {
      const S = Zp();
      _ = S.__watcherHandles || (S.__watcherHandles = []);
    } else
      return xe;
  let P = p ? new Array(e.length).fill($r) : $r;
  const M = () => {
    if (j.active)
      if (t) {
        const S = j.run();
        (r || f || (p ? S.some(
          (te, ee) => Yn(te, P[ee])
        ) : Yn(S, P))) && (h && h(), ze(t, l, 3, [
          S,
          // pass undefined as the old value when it's changed for the first time
          P === $r ? void 0 : p && P[0] === $r ? [] : P,
          C
        ]), P = S);
      } else
        j.run();
  };
  M.allowRecurse = !!t;
  let q;
  o === "sync" ? q = M : o === "post" ? q = () => Ve(M, l && l.suspense) : (M.pre = !0, l && (M.id = l.uid), q = () => io(M));
  const j = new Pi(c, q);
  process.env.NODE_ENV !== "production" && (j.onTrack = i, j.onTrigger = s), t ? n ? M() : P = j.run() : o === "post" ? Ve(
    j.run.bind(j),
    l && l.suspense
  ) : j.run();
  const J = () => {
    j.stop(), l && l.scope && wi(l.scope.effects, j);
  };
  return _ && _.push(J), J;
}
function Hd(e, t, n) {
  const r = this.proxy, o = ge(e) ? e.includes(".") ? cl(r, e) : () => r[e] : e.bind(r, r);
  let i;
  Z(t) ? i = t : (i = t.handler, n = t);
  const s = Oe;
  bn(this);
  const a = ll(o, i.bind(r), n);
  return s ? bn(s) : Zt(), a;
}
function cl(e, t) {
  const n = t.split(".");
  return () => {
    let r = e;
    for (let o = 0; o < n.length && r; o++)
      r = r[n[o]];
    return r;
  };
}
function zt(e, t) {
  if (!ce(e) || e.__v_skip || (t = t || /* @__PURE__ */ new Set(), t.has(e)))
    return e;
  if (t.add(e), _e(e))
    zt(e.value, t);
  else if (U(e))
    for (let n = 0; n < e.length; n++)
      zt(e[n], t);
  else if (Tu(e) || Kt(e))
    e.forEach((n) => {
      zt(n, t);
    });
  else if (Su(e))
    for (const n in e)
      zt(e[n], t);
  return e;
}
function fl(e) {
  ff(e) && A("Do not use built-in directive ids as custom directive id: " + e);
}
function Ds(e, t) {
  const n = Ce;
  if (n === null)
    return process.env.NODE_ENV !== "production" && A("withDirectives can only be used inside render functions."), e;
  const r = co(n) || n.proxy, o = e.dirs || (e.dirs = []);
  for (let i = 0; i < t.length; i++) {
    let [s, a, u, l = fe] = t[i];
    s && (Z(s) && (s = {
      mounted: s,
      updated: s
    }), s.deep && zt(a), o.push({
      dir: s,
      instance: r,
      value: a,
      oldValue: void 0,
      arg: u,
      modifiers: l
    }));
  }
  return e;
}
function Mt(e, t, n, r) {
  const o = e.dirs, i = t && t.dirs;
  for (let s = 0; s < o.length; s++) {
    const a = o[s];
    i && (a.oldValue = i[s].value);
    let u = a.dir[r];
    u && (en(), ze(u, n, 8, [
      e.el,
      a,
      e,
      t
    ]), tn());
  }
}
function Ud() {
  const e = {
    isMounted: !1,
    isLeaving: !1,
    isUnmounting: !1,
    leavingVNodes: /* @__PURE__ */ new Map()
  };
  return gt(() => {
    e.isMounted = !0;
  }), uo(() => {
    e.isUnmounting = !0;
  }), e;
}
const Ue = [Function, Array], dl = {
  mode: String,
  appear: Boolean,
  persisted: Boolean,
  // enter
  onBeforeEnter: Ue,
  onEnter: Ue,
  onAfterEnter: Ue,
  onEnterCancelled: Ue,
  // leave
  onBeforeLeave: Ue,
  onLeave: Ue,
  onAfterLeave: Ue,
  onLeaveCancelled: Ue,
  // appear
  onBeforeAppear: Ue,
  onAppear: Ue,
  onAfterAppear: Ue,
  onAppearCancelled: Ue
}, zd = {
  name: "BaseTransition",
  props: dl,
  setup(e, { slots: t }) {
    const n = nn(), r = Ud();
    let o;
    return () => {
      const i = t.default && vl(t.default(), !0);
      if (!i || !i.length)
        return;
      let s = i[0];
      if (i.length > 1) {
        let _ = !1;
        for (const P of i)
          if (P.type !== Se) {
            if (process.env.NODE_ENV !== "production" && _) {
              A(
                "<transition> can only be used on a single element or component. Use <transition-group> for lists."
              );
              break;
            }
            if (s = P, _ = !0, process.env.NODE_ENV === "production")
              break;
          }
      }
      const a = Q(e), { mode: u } = a;
      if (process.env.NODE_ENV !== "production" && u && u !== "in-out" && u !== "out-in" && u !== "default" && A(`invalid <transition> mode: ${u}`), r.isLeaving)
        return Po(s);
      const l = Ts(s);
      if (!l)
        return Po(s);
      const c = ti(
        l,
        a,
        r,
        n
      );
      ni(l, c);
      const f = n.subTree, p = f && Ts(f);
      let h = !1;
      const { getTransitionKey: C } = l.type;
      if (C) {
        const _ = C();
        o === void 0 ? o = _ : _ !== o && (o = _, h = !0);
      }
      if (p && p.type !== Se && (!Ht(l, p) || h)) {
        const _ = ti(
          p,
          a,
          r,
          n
        );
        if (ni(p, _), u === "out-in")
          return r.isLeaving = !0, _.afterLeave = () => {
            r.isLeaving = !1, n.update.active !== !1 && n.update();
          }, Po(s);
        u === "in-out" && l.type !== Se && (_.delayLeave = (P, M, q) => {
          const j = pl(
            r,
            p
          );
          j[String(p.key)] = p, P._leaveCb = () => {
            M(), P._leaveCb = void 0, delete c.delayedLeave;
          }, c.delayedLeave = q;
        });
      }
      return s;
    };
  }
}, Kd = zd;
function pl(e, t) {
  const { leavingVNodes: n } = e;
  let r = n.get(t.type);
  return r || (r = /* @__PURE__ */ Object.create(null), n.set(t.type, r)), r;
}
function ti(e, t, n, r) {
  const {
    appear: o,
    mode: i,
    persisted: s = !1,
    onBeforeEnter: a,
    onEnter: u,
    onAfterEnter: l,
    onEnterCancelled: c,
    onBeforeLeave: f,
    onLeave: p,
    onAfterLeave: h,
    onLeaveCancelled: C,
    onBeforeAppear: _,
    onAppear: P,
    onAfterAppear: M,
    onAppearCancelled: q
  } = t, j = String(e.key), J = pl(n, e), S = (R, W) => {
    R && ze(
      R,
      r,
      9,
      W
    );
  }, te = (R, W) => {
    const H = W[1];
    S(R, W), U(R) ? R.every((I) => I.length <= 1) && H() : R.length <= 1 && H();
  }, ee = {
    mode: i,
    persisted: s,
    beforeEnter(R) {
      let W = a;
      if (!n.isMounted)
        if (o)
          W = _ || a;
        else
          return;
      R._leaveCb && R._leaveCb(
        !0
        /* cancelled */
      );
      const H = J[j];
      H && Ht(e, H) && H.el._leaveCb && H.el._leaveCb(), S(W, [R]);
    },
    enter(R) {
      let W = u, H = l, I = c;
      if (!n.isMounted)
        if (o)
          W = P || u, H = M || l, I = q || c;
        else
          return;
      let F = !1;
      const se = R._enterCb = (X) => {
        F || (F = !0, X ? S(I, [R]) : S(H, [R]), ee.delayedLeave && ee.delayedLeave(), R._enterCb = void 0);
      };
      W ? te(W, [R, se]) : se();
    },
    leave(R, W) {
      const H = String(e.key);
      if (R._enterCb && R._enterCb(
        !0
        /* cancelled */
      ), n.isUnmounting)
        return W();
      S(f, [R]);
      let I = !1;
      const F = R._leaveCb = (se) => {
        I || (I = !0, W(), se ? S(C, [R]) : S(h, [R]), R._leaveCb = void 0, J[H] === e && delete J[H]);
      };
      J[H] = e, p ? te(p, [R, F]) : F();
    },
    clone(R) {
      return ti(R, t, n, r);
    }
  };
  return ee;
}
function Po(e) {
  if (or(e))
    return e = it(e), e.children = null, e;
}
function Ts(e) {
  return or(e) ? e.children ? e.children[0] : void 0 : e;
}
function ni(e, t) {
  e.shapeFlag & 6 && e.component ? ni(e.component.subTree, t) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
}
function vl(e, t = !1, n) {
  let r = [], o = 0;
  for (let i = 0; i < e.length; i++) {
    let s = e[i];
    const a = n == null ? s.key : String(n) + String(s.key != null ? s.key : i);
    s.type === Re ? (s.patchFlag & 128 && o++, r = r.concat(
      vl(s.children, t, a)
    )) : (t || s.type !== Se) && r.push(a != null ? it(s, { key: a }) : s);
  }
  if (o > 1)
    for (let i = 0; i < r.length; i++)
      r[i].patchFlag = -2;
  return r;
}
function qe(e, t) {
  return Z(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    /* @__PURE__ */ (() => pe({ name: e.name }, t, { setup: e }))()
  ) : e;
}
const Un = (e) => !!e.type.__asyncLoader, or = (e) => e.type.__isKeepAlive;
function Wd(e, t) {
  hl(e, "a", t);
}
function Yd(e, t) {
  hl(e, "da", t);
}
function hl(e, t, n = Oe) {
  const r = e.__wdc || (e.__wdc = () => {
    let o = n;
    for (; o; ) {
      if (o.isDeactivated)
        return;
      o = o.parent;
    }
    return e();
  });
  if (ao(t, r, n), n) {
    let o = n.parent;
    for (; o && o.parent; )
      or(o.parent.vnode) && Gd(r, t, n, o), o = o.parent;
  }
}
function Gd(e, t, n, r) {
  const o = ao(
    t,
    e,
    r,
    !0
    /* prepend */
  );
  Ri(() => {
    wi(r[t], o);
  }, n);
}
function ao(e, t, n = Oe, r = !1) {
  if (n) {
    const o = n[e] || (n[e] = []), i = t.__weh || (t.__weh = (...s) => {
      if (n.isUnmounted)
        return;
      en(), bn(n);
      const a = ze(t, n, e, s);
      return Zt(), tn(), a;
    });
    return r ? o.unshift(i) : o.push(i), i;
  } else if (process.env.NODE_ENV !== "production") {
    const o = Rt(Bi[e].replace(/ hook$/, ""));
    A(
      `${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
    );
  }
}
const ht = (e) => (t, n = Oe) => (
  // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
  (!Qn || e === "sp") && ao(e, (...r) => t(...r), n)
), qd = ht("bm"), gt = ht("m"), Zd = ht("bu"), gl = ht("u"), uo = ht("bum"), Ri = ht("um"), Jd = ht("sp"), Xd = ht(
  "rtg"
), Qd = ht(
  "rtc"
);
function ep(e, t = Oe) {
  ao("ec", e, t);
}
const ri = "components", tp = "directives";
function Fo(e, t) {
  return ml(ri, e, !0, t) || e;
}
const np = Symbol.for("v-ndc");
function rp(e) {
  return ml(tp, e);
}
function ml(e, t, n = !0, r = !1) {
  const o = Ce || Oe;
  if (o) {
    const i = o.type;
    if (e === ri) {
      const a = Wi(
        i,
        !1
        /* do not include inferred name to avoid breaking existing code */
      );
      if (a && (a === t || a === rt(t) || a === Jt(rt(t))))
        return i;
    }
    const s = (
      // local registration
      // check instance[type] first which is resolved for options API
      As(o[e] || i[e], t) || // global registration
      As(o.appContext[e], t)
    );
    if (!s && r)
      return i;
    if (process.env.NODE_ENV !== "production" && n && !s) {
      const a = e === ri ? `
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : "";
      A(`Failed to resolve ${e.slice(0, -1)}: ${t}${a}`);
    }
    return s;
  } else
    process.env.NODE_ENV !== "production" && A(
      `resolve${Jt(e.slice(0, -1))} can only be used in render() or setup().`
    );
}
function As(e, t) {
  return e && (e[t] || e[rt(t)] || e[Jt(rt(t))]);
}
function Io(e, t) {
  for (let n = 0; n < t.length; n++) {
    const r = t[n];
    if (U(r))
      for (let o = 0; o < r.length; o++)
        e[r[o].name] = r[o].fn;
    else
      r && (e[r.name] = r.key ? (...o) => {
        const i = r.fn(...o);
        return i && (i.key = r.key), i;
      } : r.fn);
  }
  return e;
}
function sn(e, t, n = {}, r, o) {
  if (Ce.isCE || Ce.parent && Un(Ce.parent) && Ce.parent.isCE)
    return t !== "default" && (n.name = t), z("slot", n, r && r());
  let i = e[t];
  process.env.NODE_ENV !== "production" && i && i.length > 1 && (A(
    "SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
  ), i = () => []), i && i._c && (i._d = !1), Et();
  const s = i && yl(i(n)), a = cn(
    Re,
    {
      key: n.key || // slot content array of a dynamic conditional slot may have a branch
      // key attached in the `createSlots` helper, respect that
      s && s.key || `_${t}`
    },
    s || (r ? r() : []),
    s && e._ === 1 ? 64 : -2
  );
  return !o && a.scopeId && (a.slotScopeIds = [a.scopeId + "-s"]), i && i._c && (i._d = !0), a;
}
function yl(e) {
  return e.some((t) => Qt(t) ? !(t.type === Se || t.type === Re && !yl(t.children)) : !0) ? e : null;
}
const oi = (e) => e ? Ml(e) ? co(e) || e.proxy : oi(e.parent) : null, qt = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ pe(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => process.env.NODE_ENV !== "production" ? jn(e.props) : e.props,
    $attrs: (e) => process.env.NODE_ENV !== "production" ? jn(e.attrs) : e.attrs,
    $slots: (e) => process.env.NODE_ENV !== "production" ? jn(e.slots) : e.slots,
    $refs: (e) => process.env.NODE_ENV !== "production" ? jn(e.refs) : e.refs,
    $parent: (e) => oi(e.parent),
    $root: (e) => oi(e.root),
    $emit: (e) => e.emit,
    $options: (e) => Hi(e),
    $forceUpdate: (e) => e.f || (e.f = () => io(e.update)),
    $nextTick: (e) => e.n || (e.n = oo.bind(e.proxy)),
    $watch: (e) => Hd.bind(e)
  })
), ki = (e) => e === "_" || e === "$", Mo = (e, t) => e !== fe && !e.__isScriptSetup && re(e, t), bl = {
  get({ _: e }, t) {
    const { ctx: n, setupState: r, data: o, props: i, accessCache: s, type: a, appContext: u } = e;
    if (process.env.NODE_ENV !== "production" && t === "__isVue")
      return !0;
    let l;
    if (t[0] !== "$") {
      const h = s[t];
      if (h !== void 0)
        switch (h) {
          case 1:
            return r[t];
          case 2:
            return o[t];
          case 4:
            return n[t];
          case 3:
            return i[t];
        }
      else {
        if (Mo(r, t))
          return s[t] = 1, r[t];
        if (o !== fe && re(o, t))
          return s[t] = 2, o[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (l = e.propsOptions[0]) && re(l, t)
        )
          return s[t] = 3, i[t];
        if (n !== fe && re(n, t))
          return s[t] = 4, n[t];
        ii && (s[t] = 0);
      }
    }
    const c = qt[t];
    let f, p;
    if (c)
      return t === "$attrs" ? (De(e, "get", t), process.env.NODE_ENV !== "production" && Hr()) : process.env.NODE_ENV !== "production" && t === "$slots" && De(e, "get", t), c(e);
    if (
      // css module (injected by vue-loader)
      (f = a.__cssModules) && (f = f[t])
    )
      return f;
    if (n !== fe && re(n, t))
      return s[t] = 4, n[t];
    if (
      // global properties
      p = u.config.globalProperties, re(p, t)
    )
      return p[t];
    process.env.NODE_ENV !== "production" && Ce && (!ge(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
    // to infinite warning loop
    t.indexOf("__v") !== 0) && (o !== fe && ki(t[0]) && re(o, t) ? A(
      `Property ${JSON.stringify(
        t
      )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
    ) : e === Ce && A(
      `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
    ));
  },
  set({ _: e }, t, n) {
    const { data: r, setupState: o, ctx: i } = e;
    return Mo(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && re(o, t) ? (A(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== fe && re(r, t) ? (r[t] = n, !0) : re(e.props, t) ? (process.env.NODE_ENV !== "production" && A(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && A(
      `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
    ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(i, t, {
      enumerable: !0,
      configurable: !0,
      value: n
    }) : i[t] = n, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: i }
  }, s) {
    let a;
    return !!n[s] || e !== fe && re(e, s) || Mo(t, s) || (a = i[0]) && re(a, s) || re(r, s) || re(qt, s) || re(o.config.globalProperties, s);
  },
  defineProperty(e, t, n) {
    return n.get != null ? e._.accessCache[t] = 0 : re(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
  }
};
process.env.NODE_ENV !== "production" && (bl.ownKeys = (e) => (A(
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function op(e) {
  const t = {};
  return Object.defineProperty(t, "_", {
    configurable: !0,
    enumerable: !1,
    get: () => e
  }), Object.keys(qt).forEach((n) => {
    Object.defineProperty(t, n, {
      configurable: !0,
      enumerable: !1,
      get: () => qt[n](e),
      // intercepted by the proxy so no need for implementation,
      // but needed to prevent set errors
      set: xe
    });
  }), t;
}
function ip(e) {
  const {
    ctx: t,
    propsOptions: [n]
  } = e;
  n && Object.keys(n).forEach((r) => {
    Object.defineProperty(t, r, {
      enumerable: !0,
      configurable: !0,
      get: () => e.props[r],
      set: xe
    });
  });
}
function sp(e) {
  const { ctx: t, setupState: n } = e;
  Object.keys(Q(n)).forEach((r) => {
    if (!n.__isScriptSetup) {
      if (ki(r[0])) {
        A(
          `setup() return property ${JSON.stringify(
            r
          )} should not start with "$" or "_" which are reserved prefixes for Vue internals.`
        );
        return;
      }
      Object.defineProperty(t, r, {
        enumerable: !0,
        configurable: !0,
        get: () => n[r],
        set: xe
      });
    }
  });
}
function ap() {
  return up().slots;
}
function up() {
  const e = nn();
  return process.env.NODE_ENV !== "production" && !e && A("useContext() called without active instance."), e.setupContext || (e.setupContext = jl(e));
}
function Ss(e) {
  return U(e) ? e.reduce(
    (t, n) => (t[n] = null, t),
    {}
  ) : e;
}
function lp() {
  const e = /* @__PURE__ */ Object.create(null);
  return (t, n) => {
    e[n] ? A(`${t} property "${n}" is already defined in ${e[n]}.`) : e[n] = t;
  };
}
let ii = !0;
function cp(e) {
  const t = Hi(e), n = e.proxy, r = e.ctx;
  ii = !1, t.beforeCreate && Ps(t.beforeCreate, e, "bc");
  const {
    // state
    data: o,
    computed: i,
    methods: s,
    watch: a,
    provide: u,
    inject: l,
    // lifecycle
    created: c,
    beforeMount: f,
    mounted: p,
    beforeUpdate: h,
    updated: C,
    activated: _,
    deactivated: P,
    beforeDestroy: M,
    beforeUnmount: q,
    destroyed: j,
    unmounted: J,
    render: S,
    renderTracked: te,
    renderTriggered: ee,
    errorCaptured: R,
    serverPrefetch: W,
    // public API
    expose: H,
    inheritAttrs: I,
    // assets
    components: F,
    directives: se,
    filters: X
  } = t, N = process.env.NODE_ENV !== "production" ? lp() : null;
  if (process.env.NODE_ENV !== "production") {
    const [D] = e.propsOptions;
    if (D)
      for (const E in D)
        N("Props", E);
  }
  if (l && fp(l, r, N), s)
    for (const D in s) {
      const E = s[D];
      Z(E) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(r, D, {
        value: E.bind(n),
        configurable: !0,
        enumerable: !0,
        writable: !0
      }) : r[D] = E.bind(n), process.env.NODE_ENV !== "production" && N("Methods", D)) : process.env.NODE_ENV !== "production" && A(
        `Method "${D}" has type "${typeof E}" in the component definition. Did you reference the function correctly?`
      );
    }
  if (o) {
    process.env.NODE_ENV !== "production" && !Z(o) && A(
      "The data option must be a function. Plain object usage is no longer supported."
    );
    const D = o.call(n, n);
    if (process.env.NODE_ENV !== "production" && xi(D) && A(
      "data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
    ), !ce(D))
      process.env.NODE_ENV !== "production" && A("data() should return an object.");
    else if (e.data = to(D), process.env.NODE_ENV !== "production")
      for (const E in D)
        N("Data", E), ki(E[0]) || Object.defineProperty(r, E, {
          configurable: !0,
          enumerable: !0,
          get: () => D[E],
          set: xe
        });
  }
  if (ii = !0, i)
    for (const D in i) {
      const E = i[D], k = Z(E) ? E.bind(n, n) : Z(E.get) ? E.get.bind(n, n) : xe;
      process.env.NODE_ENV !== "production" && k === xe && A(`Computed property "${D}" has no getter.`);
      const Y = !Z(E) && Z(E.set) ? E.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
        A(
          `Write operation failed: computed property "${D}" is readonly.`
        );
      } : xe, oe = K({
        get: k,
        set: Y
      });
      Object.defineProperty(r, D, {
        enumerable: !0,
        configurable: !0,
        get: () => oe.value,
        set: (ae) => oe.value = ae
      }), process.env.NODE_ENV !== "production" && N("Computed", D);
    }
  if (a)
    for (const D in a)
      _l(a[D], r, n, D);
  if (u) {
    const D = Z(u) ? u.call(n) : u;
    Reflect.ownKeys(D).forEach((E) => {
      $l(E, D[E]);
    });
  }
  c && Ps(c, e, "c");
  function T(D, E) {
    U(E) ? E.forEach((k) => D(k.bind(n))) : E && D(E.bind(n));
  }
  if (T(qd, f), T(gt, p), T(Zd, h), T(gl, C), T(Wd, _), T(Yd, P), T(ep, R), T(Qd, te), T(Xd, ee), T(uo, q), T(Ri, J), T(Jd, W), U(H))
    if (H.length) {
      const D = e.exposed || (e.exposed = {});
      H.forEach((E) => {
        Object.defineProperty(D, E, {
          get: () => n[E],
          set: (k) => n[E] = k
        });
      });
    } else
      e.exposed || (e.exposed = {});
  S && e.render === xe && (e.render = S), I != null && (e.inheritAttrs = I), F && (e.components = F), se && (e.directives = se);
}
function fp(e, t, n = xe) {
  U(e) && (e = si(e));
  for (const r in e) {
    const o = e[r];
    let i;
    ce(o) ? "default" in o ? i = hn(
      o.from || r,
      o.default,
      !0
      /* treat default function as factory */
    ) : i = hn(o.from || r) : i = hn(o), _e(i) ? Object.defineProperty(t, r, {
      enumerable: !0,
      configurable: !0,
      get: () => i.value,
      set: (s) => i.value = s
    }) : t[r] = i, process.env.NODE_ENV !== "production" && n("Inject", r);
  }
}
function Ps(e, t, n) {
  ze(
    U(e) ? e.map((r) => r.bind(t.proxy)) : e.bind(t.proxy),
    t,
    n
  );
}
function _l(e, t, n, r) {
  const o = r.includes(".") ? cl(n, r) : () => n[r];
  if (ge(e)) {
    const i = t[e];
    Z(i) ? dt(o, i) : process.env.NODE_ENV !== "production" && A(`Invalid watch handler specified by key "${e}"`, i);
  } else if (Z(e))
    dt(o, e.bind(n));
  else if (ce(e))
    if (U(e))
      e.forEach((i) => _l(i, t, n, r));
    else {
      const i = Z(e.handler) ? e.handler.bind(n) : t[e.handler];
      Z(i) ? dt(o, i, e) : process.env.NODE_ENV !== "production" && A(`Invalid watch handler specified by key "${e.handler}"`, i);
    }
  else
    process.env.NODE_ENV !== "production" && A(`Invalid watch option: "${r}"`, e);
}
function Hi(e) {
  const t = e.type, { mixins: n, extends: r } = t, {
    mixins: o,
    optionsCache: i,
    config: { optionMergeStrategies: s }
  } = e.appContext, a = i.get(t);
  let u;
  return a ? u = a : !o.length && !n && !r ? u = t : (u = {}, o.length && o.forEach(
    (l) => Ur(u, l, s, !0)
  ), Ur(u, t, s)), ce(t) && i.set(t, u), u;
}
function Ur(e, t, n, r = !1) {
  const { mixins: o, extends: i } = t;
  i && Ur(e, i, n, !0), o && o.forEach(
    (s) => Ur(e, s, n, !0)
  );
  for (const s in t)
    if (r && s === "expose")
      process.env.NODE_ENV !== "production" && A(
        '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
      );
    else {
      const a = dp[s] || n && n[s];
      e[s] = a ? a(e[s], t[s]) : t[s];
    }
  return e;
}
const dp = {
  data: Fs,
  props: Is,
  emits: Is,
  // objects
  methods: Vn,
  computed: Vn,
  // lifecycle
  beforeCreate: Me,
  created: Me,
  beforeMount: Me,
  mounted: Me,
  beforeUpdate: Me,
  updated: Me,
  beforeDestroy: Me,
  beforeUnmount: Me,
  destroyed: Me,
  unmounted: Me,
  activated: Me,
  deactivated: Me,
  errorCaptured: Me,
  serverPrefetch: Me,
  // assets
  components: Vn,
  directives: Vn,
  // watch
  watch: vp,
  // provide / inject
  provide: Fs,
  inject: pp
};
function Fs(e, t) {
  return t ? e ? function() {
    return pe(
      Z(e) ? e.call(this, this) : e,
      Z(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function pp(e, t) {
  return Vn(si(e), si(t));
}
function si(e) {
  if (U(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++)
      t[e[n]] = e[n];
    return t;
  }
  return e;
}
function Me(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function Vn(e, t) {
  return e ? pe(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Is(e, t) {
  return e ? U(e) && U(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : pe(
    /* @__PURE__ */ Object.create(null),
    Ss(e),
    Ss(t ?? {})
  ) : t;
}
function vp(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const n = pe(/* @__PURE__ */ Object.create(null), e);
  for (const r in t)
    n[r] = Me(e[r], t[r]);
  return n;
}
function El() {
  return {
    app: null,
    config: {
      isNativeTag: Du,
      performance: !1,
      globalProperties: {},
      optionMergeStrategies: {},
      errorHandler: void 0,
      warnHandler: void 0,
      compilerOptions: {}
    },
    mixins: [],
    components: {},
    directives: {},
    provides: /* @__PURE__ */ Object.create(null),
    optionsCache: /* @__PURE__ */ new WeakMap(),
    propsCache: /* @__PURE__ */ new WeakMap(),
    emitsCache: /* @__PURE__ */ new WeakMap()
  };
}
let hp = 0;
function gp(e, t) {
  return function(r, o = null) {
    Z(r) || (r = pe({}, r)), o != null && !ce(o) && (process.env.NODE_ENV !== "production" && A("root props passed to app.mount() must be an object."), o = null);
    const i = El();
    process.env.NODE_ENV !== "production" && Object.defineProperty(i.config, "unwrapInjectedRef", {
      get() {
        return !0;
      },
      set() {
        A(
          "app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API."
        );
      }
    });
    const s = /* @__PURE__ */ new Set();
    let a = !1;
    const u = i.app = {
      _uid: hp++,
      _component: r,
      _props: o,
      _container: null,
      _context: i,
      _instance: null,
      version: Ws,
      get config() {
        return i.config;
      },
      set config(l) {
        process.env.NODE_ENV !== "production" && A(
          "app.config cannot be replaced. Modify individual options instead."
        );
      },
      use(l, ...c) {
        return s.has(l) ? process.env.NODE_ENV !== "production" && A("Plugin has already been applied to target app.") : l && Z(l.install) ? (s.add(l), l.install(u, ...c)) : Z(l) ? (s.add(l), l(u, ...c)) : process.env.NODE_ENV !== "production" && A(
          'A plugin must either be a function or an object with an "install" function.'
        ), u;
      },
      mixin(l) {
        return i.mixins.includes(l) ? process.env.NODE_ENV !== "production" && A(
          "Mixin has already been applied to target app" + (l.name ? `: ${l.name}` : "")
        ) : i.mixins.push(l), u;
      },
      component(l, c) {
        return process.env.NODE_ENV !== "production" && di(l, i.config), c ? (process.env.NODE_ENV !== "production" && i.components[l] && A(`Component "${l}" has already been registered in target app.`), i.components[l] = c, u) : i.components[l];
      },
      directive(l, c) {
        return process.env.NODE_ENV !== "production" && fl(l), c ? (process.env.NODE_ENV !== "production" && i.directives[l] && A(`Directive "${l}" has already been registered in target app.`), i.directives[l] = c, u) : i.directives[l];
      },
      mount(l, c, f) {
        if (a)
          process.env.NODE_ENV !== "production" && A(
            "App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`"
          );
        else {
          process.env.NODE_ENV !== "production" && l.__vue_app__ && A(
            "There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first."
          );
          const p = z(
            r,
            o
          );
          return p.appContext = i, process.env.NODE_ENV !== "production" && (i.reload = () => {
            e(it(p), l, f);
          }), c && t ? t(p, l) : e(p, l, f), a = !0, u._container = l, l.__vue_app__ = u, process.env.NODE_ENV !== "production" && (u._instance = p.component, Nd(u, Ws)), co(p.component) || p.component.proxy;
        }
      },
      unmount() {
        a ? (e(null, u._container), process.env.NODE_ENV !== "production" && (u._instance = null, xd(u)), delete u._container.__vue_app__) : process.env.NODE_ENV !== "production" && A("Cannot unmount an app that is not mounted.");
      },
      provide(l, c) {
        return process.env.NODE_ENV !== "production" && l in i.provides && A(
          `App already provides property with key "${String(l)}". It will be overwritten with the new value.`
        ), i.provides[l] = c, u;
      },
      runWithContext(l) {
        zr = u;
        try {
          return l();
        } finally {
          zr = null;
        }
      }
    };
    return u;
  };
}
let zr = null;
function $l(e, t) {
  if (!Oe)
    process.env.NODE_ENV !== "production" && A("provide() can only be used inside setup().");
  else {
    let n = Oe.provides;
    const r = Oe.parent && Oe.parent.provides;
    r === n && (n = Oe.provides = Object.create(r)), n[e] = t;
  }
}
function hn(e, t, n = !1) {
  const r = Oe || Ce;
  if (r || zr) {
    const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : zr._context.provides;
    if (o && e in o)
      return o[e];
    if (arguments.length > 1)
      return n && Z(t) ? t.call(r && r.proxy) : t;
    process.env.NODE_ENV !== "production" && A(`injection "${String(e)}" not found.`);
  } else
    process.env.NODE_ENV !== "production" && A("inject() can only be used inside setup() or functional components.");
}
function mp(e, t, n, r = !1) {
  const o = {}, i = {};
  Br(i, lo, 1), e.propsDefaults = /* @__PURE__ */ Object.create(null), Ol(e, t, o, i);
  for (const s in e.propsOptions[0])
    s in o || (o[s] = void 0);
  process.env.NODE_ENV !== "production" && wl(t || {}, o, e), n ? e.props = r ? o : rd(o) : e.type.props ? e.props = o : e.props = i, e.attrs = i;
}
function yp(e) {
  for (; e; ) {
    if (e.type.__hmrId)
      return !0;
    e = e.parent;
  }
}
function bp(e, t, n, r) {
  const {
    props: o,
    attrs: i,
    vnode: { patchFlag: s }
  } = e, a = Q(o), [u] = e.propsOptions;
  let l = !1;
  if (
    // always force full diff in dev
    // - #1942 if hmr is enabled with sfc component
    // - vite#872 non-sfc component used by sfc component
    !(process.env.NODE_ENV !== "production" && yp(e)) && (r || s > 0) && !(s & 16)
  ) {
    if (s & 8) {
      const c = e.vnode.dynamicProps;
      for (let f = 0; f < c.length; f++) {
        let p = c[f];
        if (so(e.emitsOptions, p))
          continue;
        const h = t[p];
        if (u)
          if (re(i, p))
            h !== i[p] && (i[p] = h, l = !0);
          else {
            const C = rt(p);
            o[C] = ai(
              u,
              a,
              C,
              h,
              e,
              !1
              /* isAbsent */
            );
          }
        else
          h !== i[p] && (i[p] = h, l = !0);
      }
    }
  } else {
    Ol(e, t, o, i) && (l = !0);
    let c;
    for (const f in a)
      (!t || // for camelCase
      !re(t, f) && // it's possible the original props was passed in as kebab-case
      // and converted to camelCase (#955)
      ((c = Dt(f)) === f || !re(t, c))) && (u ? n && // for camelCase
      (n[f] !== void 0 || // for kebab-case
      n[c] !== void 0) && (o[f] = ai(
        u,
        a,
        f,
        void 0,
        e,
        !0
        /* isAbsent */
      )) : delete o[f]);
    if (i !== a)
      for (const f in i)
        (!t || !re(t, f)) && (delete i[f], l = !0);
  }
  l && ot(e, "set", "$attrs"), process.env.NODE_ENV !== "production" && wl(t || {}, o, e);
}
function Ol(e, t, n, r) {
  const [o, i] = e.propsOptions;
  let s = !1, a;
  if (t)
    for (let u in t) {
      if (Tr(u))
        continue;
      const l = t[u];
      let c;
      o && re(o, c = rt(u)) ? !i || !i.includes(c) ? n[c] = l : (a || (a = {}))[c] = l : so(e.emitsOptions, u) || (!(u in r) || l !== r[u]) && (r[u] = l, s = !0);
    }
  if (i) {
    const u = Q(n), l = a || fe;
    for (let c = 0; c < i.length; c++) {
      const f = i[c];
      n[f] = ai(
        o,
        u,
        f,
        l[f],
        e,
        !re(l, f)
      );
    }
  }
  return s;
}
function ai(e, t, n, r, o, i) {
  const s = e[n];
  if (s != null) {
    const a = re(s, "default");
    if (a && r === void 0) {
      const u = s.default;
      if (s.type !== Function && !s.skipFactory && Z(u)) {
        const { propsDefaults: l } = o;
        n in l ? r = l[n] : (bn(o), r = l[n] = u.call(
          null,
          t
        ), Zt());
      } else
        r = u;
    }
    s[
      0
      /* shouldCast */
    ] && (i && !a ? r = !1 : s[
      1
      /* shouldCastTrue */
    ] && (r === "" || r === Dt(n)) && (r = !0));
  }
  return r;
}
function Cl(e, t, n = !1) {
  const r = t.propsCache, o = r.get(e);
  if (o)
    return o;
  const i = e.props, s = {}, a = [];
  let u = !1;
  if (!Z(e)) {
    const c = (f) => {
      u = !0;
      const [p, h] = Cl(f, t, !0);
      pe(s, p), h && a.push(...h);
    };
    !n && t.mixins.length && t.mixins.forEach(c), e.extends && c(e.extends), e.mixins && e.mixins.forEach(c);
  }
  if (!i && !u)
    return ce(e) && r.set(e, pn), pn;
  if (U(i))
    for (let c = 0; c < i.length; c++) {
      process.env.NODE_ENV !== "production" && !ge(i[c]) && A("props must be strings when using array syntax.", i[c]);
      const f = rt(i[c]);
      Ms(f) && (s[f] = fe);
    }
  else if (i) {
    process.env.NODE_ENV !== "production" && !ce(i) && A("invalid props options", i);
    for (const c in i) {
      const f = rt(c);
      if (Ms(f)) {
        const p = i[c], h = s[f] = U(p) || Z(p) ? { type: p } : pe({}, p);
        if (h) {
          const C = js(Boolean, h.type), _ = js(String, h.type);
          h[
            0
            /* shouldCast */
          ] = C > -1, h[
            1
            /* shouldCastTrue */
          ] = _ < 0 || C < _, (C > -1 || re(h, "default")) && a.push(f);
        }
      }
    }
  }
  const l = [s, a];
  return ce(e) && r.set(e, l), l;
}
function Ms(e) {
  return e[0] !== "$" ? !0 : (process.env.NODE_ENV !== "production" && A(`Invalid prop name: "${e}" is a reserved property.`), !1);
}
function ui(e) {
  const t = e && e.toString().match(/^\s*(function|class) (\w+)/);
  return t ? t[2] : e === null ? "null" : "";
}
function Bs(e, t) {
  return ui(e) === ui(t);
}
function js(e, t) {
  return U(t) ? t.findIndex((n) => Bs(n, e)) : Z(t) && Bs(t, e) ? 0 : -1;
}
function wl(e, t, n) {
  const r = Q(t), o = n.propsOptions[0];
  for (const i in o) {
    let s = o[i];
    s != null && _p(
      i,
      r[i],
      s,
      !re(e, i) && !re(e, Dt(i))
    );
  }
}
function _p(e, t, n, r) {
  const { type: o, required: i, validator: s, skipCheck: a } = n;
  if (i && r) {
    A('Missing required prop: "' + e + '"');
    return;
  }
  if (!(t == null && !i)) {
    if (o != null && o !== !0 && !a) {
      let u = !1;
      const l = U(o) ? o : [o], c = [];
      for (let f = 0; f < l.length && !u; f++) {
        const { valid: p, expectedType: h } = $p(t, l[f]);
        c.push(h || ""), u = p;
      }
      if (!u) {
        A(Op(e, t, c));
        return;
      }
    }
    s && !s(t) && A('Invalid prop: custom validator check failed for prop "' + e + '".');
  }
}
const Ep = /* @__PURE__ */ Pt(
  "String,Number,Boolean,Function,Symbol,BigInt"
);
function $p(e, t) {
  let n;
  const r = ui(t);
  if (Ep(r)) {
    const o = typeof e;
    n = o === r.toLowerCase(), !n && o === "object" && (n = e instanceof t);
  } else
    r === "Object" ? n = ce(e) : r === "Array" ? n = U(e) : r === "null" ? n = e === null : n = e instanceof t;
  return {
    valid: n,
    expectedType: r
  };
}
function Op(e, t, n) {
  let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(Jt).join(" | ")}`;
  const o = n[0], i = Di(t), s = Ls(t, o), a = Ls(t, i);
  return n.length === 1 && Vs(o) && !Cp(o, i) && (r += ` with value ${s}`), r += `, got ${i} `, Vs(i) && (r += `with value ${a}.`), r;
}
function Ls(e, t) {
  return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
}
function Vs(e) {
  return ["string", "number", "boolean"].some((n) => e.toLowerCase() === n);
}
function Cp(...e) {
  return e.some((t) => t.toLowerCase() === "boolean");
}
const Nl = (e) => e[0] === "_" || e === "$stable", Ui = (e) => U(e) ? e.map(Ye) : [Ye(e)], wp = (e, t, n) => {
  if (t._n)
    return t;
  const r = _t((...o) => (process.env.NODE_ENV !== "production" && Oe && A(
    `Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
  ), Ui(t(...o))), n);
  return r._c = !1, r;
}, xl = (e, t, n) => {
  const r = e._ctx;
  for (const o in e) {
    if (Nl(o))
      continue;
    const i = e[o];
    if (Z(i))
      t[o] = wp(o, i, r);
    else if (i != null) {
      process.env.NODE_ENV !== "production" && A(
        `Non-function value encountered for slot "${o}". Prefer function slots for better performance.`
      );
      const s = Ui(i);
      t[o] = () => s;
    }
  }
}, Dl = (e, t) => {
  process.env.NODE_ENV !== "production" && !or(e.vnode) && A(
    "Non-function value encountered for default slot. Prefer function slots for better performance."
  );
  const n = Ui(t);
  e.slots.default = () => n;
}, Np = (e, t) => {
  if (e.vnode.shapeFlag & 32) {
    const n = t._;
    n ? (e.slots = Q(t), Br(t, "_", n)) : xl(
      t,
      e.slots = {}
    );
  } else
    e.slots = {}, t && Dl(e, t);
  Br(e.slots, lo, 1);
}, xp = (e, t, n) => {
  const { vnode: r, slots: o } = e;
  let i = !0, s = fe;
  if (r.shapeFlag & 32) {
    const a = t._;
    a ? process.env.NODE_ENV !== "production" && xt ? (pe(o, t), ot(e, "set", "$slots")) : n && a === 1 ? i = !1 : (pe(o, t), !n && a === 1 && delete o._) : (i = !t.$stable, xl(t, o)), s = t;
  } else
    t && (Dl(e, t), s = { default: 1 });
  if (i)
    for (const a in o)
      !Nl(a) && !(a in s) && delete o[a];
};
function li(e, t, n, r, o = !1) {
  if (U(e)) {
    e.forEach(
      (p, h) => li(
        p,
        t && (U(t) ? t[h] : t),
        n,
        r,
        o
      )
    );
    return;
  }
  if (Un(r) && !o)
    return;
  const i = r.shapeFlag & 4 ? co(r.component) || r.component.proxy : r.el, s = o ? null : i, { i: a, r: u } = e;
  if (process.env.NODE_ENV !== "production" && !a) {
    A(
      "Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function."
    );
    return;
  }
  const l = t && t.r, c = a.refs === fe ? a.refs = {} : a.refs, f = a.setupState;
  if (l != null && l !== u && (ge(l) ? (c[l] = null, re(f, l) && (f[l] = null)) : _e(l) && (l.value = null)), Z(u))
    ft(u, a, 12, [s, c]);
  else {
    const p = ge(u), h = _e(u);
    if (p || h) {
      const C = () => {
        if (e.f) {
          const _ = p ? re(f, u) ? f[u] : c[u] : u.value;
          o ? U(_) && wi(_, i) : U(_) ? _.includes(i) || _.push(i) : p ? (c[u] = [i], re(f, u) && (f[u] = c[u])) : (u.value = [i], e.k && (c[e.k] = u.value));
        } else
          p ? (c[u] = s, re(f, u) && (f[u] = s)) : h ? (u.value = s, e.k && (c[e.k] = s)) : process.env.NODE_ENV !== "production" && A("Invalid template ref type:", u, `(${typeof u})`);
      };
      s ? (C.id = -1, Ve(C, n)) : C();
    } else
      process.env.NODE_ENV !== "production" && A("Invalid template ref type:", u, `(${typeof u})`);
  }
}
let Sn, Ct;
function ut(e, t) {
  e.appContext.config.performance && Kr() && Ct.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Sd(e, t, Kr() ? Ct.now() : Date.now());
}
function lt(e, t) {
  if (e.appContext.config.performance && Kr()) {
    const n = `vue-${t}-${e.uid}`, r = n + ":end";
    Ct.mark(r), Ct.measure(
      `<${fo(e, e.type)}> ${t}`,
      n,
      r
    ), Ct.clearMarks(n), Ct.clearMarks(r);
  }
  process.env.NODE_ENV !== "production" && Pd(e, t, Kr() ? Ct.now() : Date.now());
}
function Kr() {
  return Sn !== void 0 || (typeof window < "u" && window.performance ? (Sn = !0, Ct = window.performance) : Sn = !1), Sn;
}
function Dp() {
  const e = [];
  if (process.env.NODE_ENV !== "production" && e.length) {
    const t = e.length > 1;
    console.warn(
      `Feature flag${t ? "s" : ""} ${e.join(", ")} ${t ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.

For more details, see https://link.vuejs.org/feature-flags.`
    );
  }
}
const Ve = kd;
function Tp(e) {
  return Ap(e);
}
function Ap(e, t) {
  Dp();
  const n = jr();
  n.__VUE__ = !0, process.env.NODE_ENV !== "production" && rl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
  const {
    insert: r,
    remove: o,
    patchProp: i,
    createElement: s,
    createText: a,
    createComment: u,
    setText: l,
    setElementText: c,
    parentNode: f,
    nextSibling: p,
    setScopeId: h = xe,
    insertStaticContent: C
  } = e, _ = (d, v, g, O = null, $ = null, b = null, m = !1, y = null, x = process.env.NODE_ENV !== "production" && xt ? !1 : !!v.dynamicChildren) => {
    if (d === v)
      return;
    d && !Ht(d, v) && (O = He(d), ue(d, $, b, !0), d = null), v.patchFlag === -2 && (x = !1, v.dynamicChildren = null);
    const { type: w, ref: L, shapeFlag: B } = v;
    switch (w) {
      case ir:
        P(d, v, g, O);
        break;
      case Se:
        M(d, v, g, O);
        break;
      case Pr:
        d == null ? q(v, g, O, m) : process.env.NODE_ENV !== "production" && j(d, v, g, m);
        break;
      case Re:
        se(
          d,
          v,
          g,
          O,
          $,
          b,
          m,
          y,
          x
        );
        break;
      default:
        B & 1 ? te(
          d,
          v,
          g,
          O,
          $,
          b,
          m,
          y,
          x
        ) : B & 6 ? X(
          d,
          v,
          g,
          O,
          $,
          b,
          m,
          y,
          x
        ) : B & 64 || B & 128 ? w.process(
          d,
          v,
          g,
          O,
          $,
          b,
          m,
          y,
          x,
          Ee
        ) : process.env.NODE_ENV !== "production" && A("Invalid VNode type:", w, `(${typeof w})`);
    }
    L != null && $ && li(L, d && d.ref, b, v || d, !v);
  }, P = (d, v, g, O) => {
    if (d == null)
      r(
        v.el = a(v.children),
        g,
        O
      );
    else {
      const $ = v.el = d.el;
      v.children !== d.children && l($, v.children);
    }
  }, M = (d, v, g, O) => {
    d == null ? r(
      v.el = u(v.children || ""),
      g,
      O
    ) : v.el = d.el;
  }, q = (d, v, g, O) => {
    [d.el, d.anchor] = C(
      d.children,
      v,
      g,
      O,
      d.el,
      d.anchor
    );
  }, j = (d, v, g, O) => {
    if (v.children !== d.children) {
      const $ = p(d.anchor);
      S(d), [v.el, v.anchor] = C(
        v.children,
        g,
        $,
        O
      );
    } else
      v.el = d.el, v.anchor = d.anchor;
  }, J = ({ el: d, anchor: v }, g, O) => {
    let $;
    for (; d && d !== v; )
      $ = p(d), r(d, g, O), d = $;
    r(v, g, O);
  }, S = ({ el: d, anchor: v }) => {
    let g;
    for (; d && d !== v; )
      g = p(d), o(d), d = g;
    o(v);
  }, te = (d, v, g, O, $, b, m, y, x) => {
    m = m || v.type === "svg", d == null ? ee(
      v,
      g,
      O,
      $,
      b,
      m,
      y,
      x
    ) : H(
      d,
      v,
      $,
      b,
      m,
      y,
      x
    );
  }, ee = (d, v, g, O, $, b, m, y) => {
    let x, w;
    const { type: L, props: B, shapeFlag: V, transition: G, dirs: ne } = d;
    if (x = d.el = s(
      d.type,
      b,
      B && B.is,
      B
    ), V & 8 ? c(x, d.children) : V & 16 && W(
      d.children,
      x,
      null,
      O,
      $,
      b && L !== "foreignObject",
      m,
      y
    ), ne && Mt(d, null, O, "created"), R(x, d, d.scopeId, m, O), B) {
      for (const le in B)
        le !== "value" && !Tr(le) && i(
          x,
          le,
          null,
          B[le],
          b,
          d.children,
          O,
          $,
          be
        );
      "value" in B && i(x, "value", null, B.value), (w = B.onVnodeBeforeMount) && Xe(w, O, d);
    }
    process.env.NODE_ENV !== "production" && (Object.defineProperty(x, "__vnode", {
      value: d,
      enumerable: !1
    }), Object.defineProperty(x, "__vueParentComponent", {
      value: O,
      enumerable: !1
    })), ne && Mt(d, null, O, "beforeMount");
    const ie = (!$ || $ && !$.pendingBranch) && G && !G.persisted;
    ie && G.beforeEnter(x), r(x, v, g), ((w = B && B.onVnodeMounted) || ie || ne) && Ve(() => {
      w && Xe(w, O, d), ie && G.enter(x), ne && Mt(d, null, O, "mounted");
    }, $);
  }, R = (d, v, g, O, $) => {
    if (g && h(d, g), O)
      for (let b = 0; b < O.length; b++)
        h(d, O[b]);
    if ($) {
      let b = $.subTree;
      if (process.env.NODE_ENV !== "production" && b.patchFlag > 0 && b.patchFlag & 2048 && (b = ul(b.children) || b), v === b) {
        const m = $.vnode;
        R(
          d,
          m,
          m.scopeId,
          m.slotScopeIds,
          $.parent
        );
      }
    }
  }, W = (d, v, g, O, $, b, m, y, x = 0) => {
    for (let w = x; w < d.length; w++) {
      const L = d[w] = y ? Ot(d[w]) : Ye(d[w]);
      _(
        null,
        L,
        v,
        g,
        O,
        $,
        b,
        m,
        y
      );
    }
  }, H = (d, v, g, O, $, b, m) => {
    const y = v.el = d.el;
    let { patchFlag: x, dynamicChildren: w, dirs: L } = v;
    x |= d.patchFlag & 16;
    const B = d.props || fe, V = v.props || fe;
    let G;
    g && Bt(g, !1), (G = V.onVnodeBeforeUpdate) && Xe(G, g, v, d), L && Mt(v, d, g, "beforeUpdate"), g && Bt(g, !0), process.env.NODE_ENV !== "production" && xt && (x = 0, m = !1, w = null);
    const ne = $ && v.type !== "foreignObject";
    if (w ? (I(
      d.dynamicChildren,
      w,
      y,
      g,
      O,
      ne,
      b
    ), process.env.NODE_ENV !== "production" && zn(d, v)) : m || k(
      d,
      v,
      y,
      null,
      g,
      O,
      ne,
      b,
      !1
    ), x > 0) {
      if (x & 16)
        F(
          y,
          v,
          B,
          V,
          g,
          O,
          $
        );
      else if (x & 2 && B.class !== V.class && i(y, "class", null, V.class, $), x & 4 && i(y, "style", B.style, V.style, $), x & 8) {
        const ie = v.dynamicProps;
        for (let le = 0; le < ie.length; le++) {
          const ye = ie[le], Ke = B[ye], on = V[ye];
          (on !== Ke || ye === "value") && i(
            y,
            ye,
            Ke,
            on,
            $,
            d.children,
            g,
            O,
            be
          );
        }
      }
      x & 1 && d.children !== v.children && c(y, v.children);
    } else
      !m && w == null && F(
        y,
        v,
        B,
        V,
        g,
        O,
        $
      );
    ((G = V.onVnodeUpdated) || L) && Ve(() => {
      G && Xe(G, g, v, d), L && Mt(v, d, g, "updated");
    }, O);
  }, I = (d, v, g, O, $, b, m) => {
    for (let y = 0; y < v.length; y++) {
      const x = d[y], w = v[y], L = (
        // oldVNode may be an errored async setup() component inside Suspense
        // which will not have a mounted element
        x.el && // - In the case of a Fragment, we need to provide the actual parent
        // of the Fragment itself so it can move its children.
        (x.type === Re || // - In the case of different nodes, there is going to be a replacement
        // which also requires the correct parent container
        !Ht(x, w) || // - In the case of a component, it could contain anything.
        x.shapeFlag & 70) ? f(x.el) : (
          // In other cases, the parent container is not actually used so we
          // just pass the block element here to avoid a DOM parentNode call.
          g
        )
      );
      _(
        x,
        w,
        L,
        null,
        O,
        $,
        b,
        m,
        !0
      );
    }
  }, F = (d, v, g, O, $, b, m) => {
    if (g !== O) {
      if (g !== fe)
        for (const y in g)
          !Tr(y) && !(y in O) && i(
            d,
            y,
            g[y],
            null,
            m,
            v.children,
            $,
            b,
            be
          );
      for (const y in O) {
        if (Tr(y))
          continue;
        const x = O[y], w = g[y];
        x !== w && y !== "value" && i(
          d,
          y,
          w,
          x,
          m,
          v.children,
          $,
          b,
          be
        );
      }
      "value" in O && i(d, "value", g.value, O.value);
    }
  }, se = (d, v, g, O, $, b, m, y, x) => {
    const w = v.el = d ? d.el : a(""), L = v.anchor = d ? d.anchor : a("");
    let { patchFlag: B, dynamicChildren: V, slotScopeIds: G } = v;
    process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
    (xt || B & 2048) && (B = 0, x = !1, V = null), G && (y = y ? y.concat(G) : G), d == null ? (r(w, g, O), r(L, g, O), W(
      v.children,
      g,
      L,
      $,
      b,
      m,
      y,
      x
    )) : B > 0 && B & 64 && V && // #2715 the previous fragment could've been a BAILed one as a result
    // of renderSlot() with no valid children
    d.dynamicChildren ? (I(
      d.dynamicChildren,
      V,
      g,
      $,
      b,
      m,
      y
    ), process.env.NODE_ENV !== "production" ? zn(d, v) : (
      // #2080 if the stable fragment has a key, it's a <template v-for> that may
      //  get moved around. Make sure all root level vnodes inherit el.
      // #2134 or if it's a component root, it may also get moved around
      // as the component is being moved.
      (v.key != null || $ && v === $.subTree) && zn(
        d,
        v,
        !0
        /* shallow */
      )
    )) : k(
      d,
      v,
      g,
      L,
      $,
      b,
      m,
      y,
      x
    );
  }, X = (d, v, g, O, $, b, m, y, x) => {
    v.slotScopeIds = y, d == null ? v.shapeFlag & 512 ? $.ctx.activate(
      v,
      g,
      O,
      m,
      x
    ) : N(
      v,
      g,
      O,
      $,
      b,
      m,
      x
    ) : T(d, v, x);
  }, N = (d, v, g, O, $, b, m) => {
    const y = d.component = kp(
      d,
      O,
      $
    );
    if (process.env.NODE_ENV !== "production" && y.type.__hmrId && $d(y), process.env.NODE_ENV !== "production" && (Ar(d), ut(y, "mount")), or(d) && (y.ctx.renderer = Ee), process.env.NODE_ENV !== "production" && ut(y, "init"), Up(y), process.env.NODE_ENV !== "production" && lt(y, "init"), y.asyncDep) {
      if ($ && $.registerDep(y, D), !d.el) {
        const x = y.subTree = z(Se);
        M(null, x, v, g);
      }
      return;
    }
    D(
      y,
      d,
      v,
      g,
      $,
      b,
      m
    ), process.env.NODE_ENV !== "production" && (Sr(), lt(y, "mount"));
  }, T = (d, v, g) => {
    const O = v.component = d.component;
    if (Ld(d, v, g))
      if (O.asyncDep && !O.asyncResolved) {
        process.env.NODE_ENV !== "production" && Ar(v), E(O, v, g), process.env.NODE_ENV !== "production" && Sr();
        return;
      } else
        O.next = v, _d(O.update), O.update();
    else
      v.el = d.el, O.vnode = v;
  }, D = (d, v, g, O, $, b, m) => {
    const y = () => {
      if (d.isMounted) {
        let { next: L, bu: B, u: V, parent: G, vnode: ne } = d, ie = L, le;
        process.env.NODE_ENV !== "production" && Ar(L || d.vnode), Bt(d, !1), L ? (L.el = ne.el, E(d, L, m)) : L = ne, B && An(B), (le = L.props && L.props.onVnodeBeforeUpdate) && Xe(le, G, L, ne), Bt(d, !0), process.env.NODE_ENV !== "production" && ut(d, "render");
        const ye = So(d);
        process.env.NODE_ENV !== "production" && lt(d, "render");
        const Ke = d.subTree;
        d.subTree = ye, process.env.NODE_ENV !== "production" && ut(d, "patch"), _(
          Ke,
          ye,
          // parent may have changed if it's in a teleport
          f(Ke.el),
          // anchor may have changed if it's in a fragment
          He(Ke),
          d,
          $,
          b
        ), process.env.NODE_ENV !== "production" && lt(d, "patch"), L.el = ye.el, ie === null && Vd(d, ye.el), V && Ve(V, $), (le = L.props && L.props.onVnodeUpdated) && Ve(
          () => Xe(le, G, L, ne),
          $
        ), process.env.NODE_ENV !== "production" && ol(d), process.env.NODE_ENV !== "production" && Sr();
      } else {
        let L;
        const { el: B, props: V } = v, { bm: G, m: ne, parent: ie } = d, le = Un(v);
        if (Bt(d, !1), G && An(G), !le && (L = V && V.onVnodeBeforeMount) && Xe(L, ie, v), Bt(d, !0), B && Fe) {
          const ye = () => {
            process.env.NODE_ENV !== "production" && ut(d, "render"), d.subTree = So(d), process.env.NODE_ENV !== "production" && lt(d, "render"), process.env.NODE_ENV !== "production" && ut(d, "hydrate"), Fe(
              B,
              d.subTree,
              d,
              $,
              null
            ), process.env.NODE_ENV !== "production" && lt(d, "hydrate");
          };
          le ? v.type.__asyncLoader().then(
            // note: we are moving the render call into an async callback,
            // which means it won't track dependencies - but it's ok because
            // a server-rendered async wrapper is already in resolved state
            // and it will never need to change.
            () => !d.isUnmounted && ye()
          ) : ye();
        } else {
          process.env.NODE_ENV !== "production" && ut(d, "render");
          const ye = d.subTree = So(d);
          process.env.NODE_ENV !== "production" && lt(d, "render"), process.env.NODE_ENV !== "production" && ut(d, "patch"), _(
            null,
            ye,
            g,
            O,
            d,
            $,
            b
          ), process.env.NODE_ENV !== "production" && lt(d, "patch"), v.el = ye.el;
        }
        if (ne && Ve(ne, $), !le && (L = V && V.onVnodeMounted)) {
          const ye = v;
          Ve(
            () => Xe(L, ie, ye),
            $
          );
        }
        (v.shapeFlag & 256 || ie && Un(ie.vnode) && ie.vnode.shapeFlag & 256) && d.a && Ve(d.a, $), d.isMounted = !0, process.env.NODE_ENV !== "production" && Dd(d), v = g = O = null;
      }
    }, x = d.effect = new Pi(
      y,
      () => io(w),
      d.scope
      // track it in component's effect scope
    ), w = d.update = () => x.run();
    w.id = d.uid, Bt(d, !0), process.env.NODE_ENV !== "production" && (x.onTrack = d.rtc ? (L) => An(d.rtc, L) : void 0, x.onTrigger = d.rtg ? (L) => An(d.rtg, L) : void 0, w.ownerInstance = d), w();
  }, E = (d, v, g) => {
    v.component = d;
    const O = d.vnode.props;
    d.vnode = v, d.next = null, bp(d, v.props, O, g), xp(d, v.children, g), en(), Cs(), tn();
  }, k = (d, v, g, O, $, b, m, y, x = !1) => {
    const w = d && d.children, L = d ? d.shapeFlag : 0, B = v.children, { patchFlag: V, shapeFlag: G } = v;
    if (V > 0) {
      if (V & 128) {
        oe(
          w,
          B,
          g,
          O,
          $,
          b,
          m,
          y,
          x
        );
        return;
      } else if (V & 256) {
        Y(
          w,
          B,
          g,
          O,
          $,
          b,
          m,
          y,
          x
        );
        return;
      }
    }
    G & 8 ? (L & 16 && be(w, $, b), B !== w && c(g, B)) : L & 16 ? G & 16 ? oe(
      w,
      B,
      g,
      O,
      $,
      b,
      m,
      y,
      x
    ) : be(w, $, b, !0) : (L & 8 && c(g, ""), G & 16 && W(
      B,
      g,
      O,
      $,
      b,
      m,
      y,
      x
    ));
  }, Y = (d, v, g, O, $, b, m, y, x) => {
    d = d || pn, v = v || pn;
    const w = d.length, L = v.length, B = Math.min(w, L);
    let V;
    for (V = 0; V < B; V++) {
      const G = v[V] = x ? Ot(v[V]) : Ye(v[V]);
      _(
        d[V],
        G,
        g,
        null,
        $,
        b,
        m,
        y,
        x
      );
    }
    w > L ? be(
      d,
      $,
      b,
      !0,
      !1,
      B
    ) : W(
      v,
      g,
      O,
      $,
      b,
      m,
      y,
      x,
      B
    );
  }, oe = (d, v, g, O, $, b, m, y, x) => {
    let w = 0;
    const L = v.length;
    let B = d.length - 1, V = L - 1;
    for (; w <= B && w <= V; ) {
      const G = d[w], ne = v[w] = x ? Ot(v[w]) : Ye(v[w]);
      if (Ht(G, ne))
        _(
          G,
          ne,
          g,
          null,
          $,
          b,
          m,
          y,
          x
        );
      else
        break;
      w++;
    }
    for (; w <= B && w <= V; ) {
      const G = d[B], ne = v[V] = x ? Ot(v[V]) : Ye(v[V]);
      if (Ht(G, ne))
        _(
          G,
          ne,
          g,
          null,
          $,
          b,
          m,
          y,
          x
        );
      else
        break;
      B--, V--;
    }
    if (w > B) {
      if (w <= V) {
        const G = V + 1, ne = G < L ? v[G].el : O;
        for (; w <= V; )
          _(
            null,
            v[w] = x ? Ot(v[w]) : Ye(v[w]),
            g,
            ne,
            $,
            b,
            m,
            y,
            x
          ), w++;
      }
    } else if (w > V)
      for (; w <= B; )
        ue(d[w], $, b, !0), w++;
    else {
      const G = w, ne = w, ie = /* @__PURE__ */ new Map();
      for (w = ne; w <= V; w++) {
        const Ie = v[w] = x ? Ot(v[w]) : Ye(v[w]);
        Ie.key != null && (process.env.NODE_ENV !== "production" && ie.has(Ie.key) && A(
          "Duplicate keys found during update:",
          JSON.stringify(Ie.key),
          "Make sure keys are unique."
        ), ie.set(Ie.key, w));
      }
      let le, ye = 0;
      const Ke = V - ne + 1;
      let on = !1, ds = 0;
      const Tn = new Array(Ke);
      for (w = 0; w < Ke; w++)
        Tn[w] = 0;
      for (w = G; w <= B; w++) {
        const Ie = d[w];
        if (ye >= Ke) {
          ue(Ie, $, b, !0);
          continue;
        }
        let Je;
        if (Ie.key != null)
          Je = ie.get(Ie.key);
        else
          for (le = ne; le <= V; le++)
            if (Tn[le - ne] === 0 && Ht(Ie, v[le])) {
              Je = le;
              break;
            }
        Je === void 0 ? ue(Ie, $, b, !0) : (Tn[Je - ne] = w + 1, Je >= ds ? ds = Je : on = !0, _(
          Ie,
          v[Je],
          g,
          null,
          $,
          b,
          m,
          y,
          x
        ), ye++);
      }
      const ps = on ? Sp(Tn) : pn;
      for (le = ps.length - 1, w = Ke - 1; w >= 0; w--) {
        const Ie = ne + w, Je = v[Ie], vs = Ie + 1 < L ? v[Ie + 1].el : O;
        Tn[w] === 0 ? _(
          null,
          Je,
          g,
          vs,
          $,
          b,
          m,
          y,
          x
        ) : on && (le < 0 || w !== ps[le] ? ae(Je, g, vs, 2) : le--);
      }
    }
  }, ae = (d, v, g, O, $ = null) => {
    const { el: b, type: m, transition: y, children: x, shapeFlag: w } = d;
    if (w & 6) {
      ae(d.component.subTree, v, g, O);
      return;
    }
    if (w & 128) {
      d.suspense.move(v, g, O);
      return;
    }
    if (w & 64) {
      m.move(d, v, g, Ee);
      return;
    }
    if (m === Re) {
      r(b, v, g);
      for (let B = 0; B < x.length; B++)
        ae(x[B], v, g, O);
      r(d.anchor, v, g);
      return;
    }
    if (m === Pr) {
      J(d, v, g);
      return;
    }
    if (O !== 2 && w & 1 && y)
      if (O === 0)
        y.beforeEnter(b), r(b, v, g), Ve(() => y.enter(b), $);
      else {
        const { leave: B, delayLeave: V, afterLeave: G } = y, ne = () => r(b, v, g), ie = () => {
          B(b, () => {
            ne(), G && G();
          });
        };
        V ? V(b, ne, ie) : ie();
      }
    else
      r(b, v, g);
  }, ue = (d, v, g, O = !1, $ = !1) => {
    const {
      type: b,
      props: m,
      ref: y,
      children: x,
      dynamicChildren: w,
      shapeFlag: L,
      patchFlag: B,
      dirs: V
    } = d;
    if (y != null && li(y, null, g, d, !0), L & 256) {
      v.ctx.deactivate(d);
      return;
    }
    const G = L & 1 && V, ne = !Un(d);
    let ie;
    if (ne && (ie = m && m.onVnodeBeforeUnmount) && Xe(ie, v, d), L & 6)
      Le(d.component, g, O);
    else {
      if (L & 128) {
        d.suspense.unmount(g, O);
        return;
      }
      G && Mt(d, null, v, "beforeUnmount"), L & 64 ? d.type.remove(
        d,
        v,
        g,
        $,
        Ee,
        O
      ) : w && // #1153: fast path should not be taken for non-stable (v-for) fragments
      (b !== Re || B > 0 && B & 64) ? be(
        w,
        v,
        g,
        !1,
        !0
      ) : (b === Re && B & 384 || !$ && L & 16) && be(x, v, g), O && me(d);
    }
    (ne && (ie = m && m.onVnodeUnmounted) || G) && Ve(() => {
      ie && Xe(ie, v, d), G && Mt(d, null, v, "unmounted");
    }, g);
  }, me = (d) => {
    const { type: v, el: g, anchor: O, transition: $ } = d;
    if (v === Re) {
      process.env.NODE_ENV !== "production" && d.patchFlag > 0 && d.patchFlag & 2048 && $ && !$.persisted ? d.children.forEach((m) => {
        m.type === Se ? o(m.el) : me(m);
      }) : Te(g, O);
      return;
    }
    if (v === Pr) {
      S(d);
      return;
    }
    const b = () => {
      o(g), $ && !$.persisted && $.afterLeave && $.afterLeave();
    };
    if (d.shapeFlag & 1 && $ && !$.persisted) {
      const { leave: m, delayLeave: y } = $, x = () => m(g, b);
      y ? y(d.el, b, x) : x();
    } else
      b();
  }, Te = (d, v) => {
    let g;
    for (; d !== v; )
      g = p(d), o(d), d = g;
    o(v);
  }, Le = (d, v, g) => {
    process.env.NODE_ENV !== "production" && d.type.__hmrId && Od(d);
    const { bum: O, scope: $, update: b, subTree: m, um: y } = d;
    O && An(O), $.stop(), b && (b.active = !1, ue(m, d, v, g)), y && Ve(y, v), Ve(() => {
      d.isUnmounted = !0;
    }, v), v && v.pendingBranch && !v.isUnmounted && d.asyncDep && !d.asyncResolved && d.suspenseId === v.pendingId && (v.deps--, v.deps === 0 && v.resolve()), process.env.NODE_ENV !== "production" && Ad(d);
  }, be = (d, v, g, O = !1, $ = !1, b = 0) => {
    for (let m = b; m < d.length; m++)
      ue(d[m], v, g, O, $);
  }, He = (d) => d.shapeFlag & 6 ? He(d.component.subTree) : d.shapeFlag & 128 ? d.suspense.next() : p(d.anchor || d.el), at = (d, v, g) => {
    d == null ? v._vnode && ue(v._vnode, null, null, !0) : _(v._vnode || null, d, v, null, null, null, g), Cs(), el(), v._vnode = d;
  }, Ee = {
    p: _,
    um: ue,
    m: ae,
    r: me,
    mt: N,
    mc: W,
    pc: k,
    pbc: I,
    n: He,
    o: e
  };
  let $e, Fe;
  return t && ([$e, Fe] = t(
    Ee
  )), {
    render: at,
    hydrate: $e,
    createApp: gp(at, $e)
  };
}
function Bt({ effect: e, update: t }, n) {
  e.allowRecurse = t.allowRecurse = n;
}
function zn(e, t, n = !1) {
  const r = e.children, o = t.children;
  if (U(r) && U(o))
    for (let i = 0; i < r.length; i++) {
      const s = r[i];
      let a = o[i];
      a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = o[i] = Ot(o[i]), a.el = s.el), n || zn(s, a)), a.type === ir && (a.el = s.el), process.env.NODE_ENV !== "production" && a.type === Se && !a.el && (a.el = s.el);
    }
}
function Sp(e) {
  const t = e.slice(), n = [0];
  let r, o, i, s, a;
  const u = e.length;
  for (r = 0; r < u; r++) {
    const l = e[r];
    if (l !== 0) {
      if (o = n[n.length - 1], e[o] < l) {
        t[r] = o, n.push(r);
        continue;
      }
      for (i = 0, s = n.length - 1; i < s; )
        a = i + s >> 1, e[n[a]] < l ? i = a + 1 : s = a;
      l < e[n[i]] && (i > 0 && (t[r] = n[i - 1]), n[i] = r);
    }
  }
  for (i = n.length, s = n[i - 1]; i-- > 0; )
    n[i] = s, s = t[s];
  return n;
}
const Pp = (e) => e.__isTeleport, gn = (e) => e && (e.disabled || e.disabled === ""), Rs = (e) => typeof SVGElement < "u" && e instanceof SVGElement, ci = (e, t) => {
  const n = e && e.to;
  if (ge(n))
    if (t) {
      const r = t(n);
      return r || process.env.NODE_ENV !== "production" && A(
        `Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`
      ), r;
    } else
      return process.env.NODE_ENV !== "production" && A(
        "Current renderer does not support string target for Teleports. (missing querySelector renderer option)"
      ), null;
  else
    return process.env.NODE_ENV !== "production" && !n && !gn(e) && A(`Invalid Teleport target: ${n}`), n;
}, Fp = {
  __isTeleport: !0,
  process(e, t, n, r, o, i, s, a, u, l) {
    const {
      mc: c,
      pc: f,
      pbc: p,
      o: { insert: h, querySelector: C, createText: _, createComment: P }
    } = l, M = gn(t.props);
    let { shapeFlag: q, children: j, dynamicChildren: J } = t;
    if (process.env.NODE_ENV !== "production" && xt && (u = !1, J = null), e == null) {
      const S = t.el = process.env.NODE_ENV !== "production" ? P("teleport start") : _(""), te = t.anchor = process.env.NODE_ENV !== "production" ? P("teleport end") : _("");
      h(S, n, r), h(te, n, r);
      const ee = t.target = ci(t.props, C), R = t.targetAnchor = _("");
      ee ? (h(R, ee), s = s || Rs(ee)) : process.env.NODE_ENV !== "production" && !M && A("Invalid Teleport target on mount:", ee, `(${typeof ee})`);
      const W = (H, I) => {
        q & 16 && c(
          j,
          H,
          I,
          o,
          i,
          s,
          a,
          u
        );
      };
      M ? W(n, te) : ee && W(ee, R);
    } else {
      t.el = e.el;
      const S = t.anchor = e.anchor, te = t.target = e.target, ee = t.targetAnchor = e.targetAnchor, R = gn(e.props), W = R ? n : te, H = R ? S : ee;
      if (s = s || Rs(te), J ? (p(
        e.dynamicChildren,
        J,
        W,
        o,
        i,
        s,
        a
      ), zn(e, t, !0)) : u || f(
        e,
        t,
        W,
        H,
        o,
        i,
        s,
        a,
        !1
      ), M)
        R || Or(
          t,
          n,
          S,
          l,
          1
        );
      else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
        const I = t.target = ci(
          t.props,
          C
        );
        I ? Or(
          t,
          I,
          null,
          l,
          0
        ) : process.env.NODE_ENV !== "production" && A(
          "Invalid Teleport target on update:",
          te,
          `(${typeof te})`
        );
      } else
        R && Or(
          t,
          te,
          ee,
          l,
          1
        );
    }
    Tl(t);
  },
  remove(e, t, n, r, { um: o, o: { remove: i } }, s) {
    const { shapeFlag: a, children: u, anchor: l, targetAnchor: c, target: f, props: p } = e;
    if (f && i(c), (s || !gn(p)) && (i(l), a & 16))
      for (let h = 0; h < u.length; h++) {
        const C = u[h];
        o(
          C,
          t,
          n,
          !0,
          !!C.dynamicChildren
        );
      }
  },
  move: Or,
  hydrate: Ip
};
function Or(e, t, n, { o: { insert: r }, m: o }, i = 2) {
  i === 0 && r(e.targetAnchor, t, n);
  const { el: s, anchor: a, shapeFlag: u, children: l, props: c } = e, f = i === 2;
  if (f && r(s, t, n), (!f || gn(c)) && u & 16)
    for (let p = 0; p < l.length; p++)
      o(
        l[p],
        t,
        n,
        2
      );
  f && r(a, t, n);
}
function Ip(e, t, n, r, o, i, {
  o: { nextSibling: s, parentNode: a, querySelector: u }
}, l) {
  const c = t.target = ci(
    t.props,
    u
  );
  if (c) {
    const f = c._lpa || c.firstChild;
    if (t.shapeFlag & 16)
      if (gn(t.props))
        t.anchor = l(
          s(e),
          t,
          a(e),
          n,
          r,
          o,
          i
        ), t.targetAnchor = f;
      else {
        t.anchor = s(e);
        let p = f;
        for (; p; )
          if (p = s(p), p && p.nodeType === 8 && p.data === "teleport anchor") {
            t.targetAnchor = p, c._lpa = t.targetAnchor && s(t.targetAnchor);
            break;
          }
        l(
          f,
          t,
          c,
          n,
          r,
          o,
          i
        );
      }
    Tl(t);
  }
  return t.anchor && s(t.anchor);
}
const fi = Fp;
function Tl(e) {
  const t = e.ctx;
  if (t && t.ut) {
    let n = e.children[0].el;
    for (; n !== e.targetAnchor; )
      n.nodeType === 1 && n.setAttribute("data-v-owner", t.uid), n = n.nextSibling;
    t.ut();
  }
}
const Re = Symbol.for("v-fgt"), ir = Symbol.for("v-txt"), Se = Symbol.for("v-cmt"), Pr = Symbol.for("v-stc"), Kn = [];
let Ge = null;
function Et(e = !1) {
  Kn.push(Ge = e ? null : []);
}
function Mp() {
  Kn.pop(), Ge = Kn[Kn.length - 1] || null;
}
let Xn = 1;
function ks(e) {
  Xn += e;
}
function Al(e) {
  return e.dynamicChildren = Xn > 0 ? Ge || pn : null, Mp(), Xn > 0 && Ge && Ge.push(e), e;
}
function Hs(e, t, n, r, o, i) {
  return Al(
    Pl(
      e,
      t,
      n,
      r,
      o,
      i,
      !0
      /* isBlock */
    )
  );
}
function cn(e, t, n, r, o) {
  return Al(
    z(
      e,
      t,
      n,
      r,
      o,
      !0
      /* isBlock: prevent a block from tracking itself */
    )
  );
}
function Qt(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
function Ht(e, t) {
  return process.env.NODE_ENV !== "production" && t.shapeFlag & 6 && ln.has(t.type) ? (e.shapeFlag &= -257, t.shapeFlag &= -513, !1) : e.type === t.type && e.key === t.key;
}
const Bp = (...e) => Fl(
  ...e
), lo = "__vInternal", Sl = ({ key: e }) => e ?? null, Fr = ({
  ref: e,
  ref_key: t,
  ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? ge(e) || _e(e) || Z(e) ? { i: Ce, r: e, k: t, f: !!n } : e : null);
function Pl(e, t = null, n = null, r = 0, o = null, i = e === Re ? 0 : 1, s = !1, a = !1) {
  const u = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && Sl(t),
    ref: t && Fr(t),
    scopeId: al,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: i,
    patchFlag: r,
    dynamicProps: o,
    dynamicChildren: null,
    appContext: null,
    ctx: Ce
  };
  return a ? (zi(u, n), i & 128 && e.normalize(u)) : n && (u.shapeFlag |= ge(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && A("VNode created with invalid key (NaN). VNode type:", u.type), Xn > 0 && // avoid a block node from tracking itself
  !s && // has current parent block
  Ge && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (u.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  u.patchFlag !== 32 && Ge.push(u), u;
}
const z = process.env.NODE_ENV !== "production" ? Bp : Fl;
function Fl(e, t = null, n = null, r = 0, o = null, i = !1) {
  if ((!e || e === np) && (process.env.NODE_ENV !== "production" && !e && A(`Invalid vnode type when creating vnode: ${e}.`), e = Se), Qt(e)) {
    const a = it(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return n && zi(a, n), Xn > 0 && !i && Ge && (a.shapeFlag & 6 ? Ge[Ge.indexOf(e)] = a : Ge.push(a)), a.patchFlag |= -2, a;
  }
  if (Ll(e) && (e = e.__vccOpts), t) {
    t = jp(t);
    let { class: a, style: u } = t;
    a && !ge(a) && (t.class = Si(a)), ce(u) && (Rr(u) && !U(u) && (u = pe({}, u)), t.style = Ai(u));
  }
  const s = ge(e) ? 1 : Rd(e) ? 128 : Pp(e) ? 64 : ce(e) ? 4 : Z(e) ? 2 : 0;
  return process.env.NODE_ENV !== "production" && s & 4 && Rr(e) && (e = Q(e), A(
    "Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
    `
Component that was made reactive: `,
    e
  )), Pl(
    e,
    t,
    n,
    r,
    o,
    s,
    i,
    !0
  );
}
function jp(e) {
  return e ? Rr(e) || lo in e ? pe({}, e) : e : null;
}
function it(e, t, n = !1) {
  const { props: r, ref: o, patchFlag: i, children: s } = e, a = t ? ct(r || {}, t) : r;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: a,
    key: a && Sl(a),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      n && o ? U(o) ? o.concat(Fr(t)) : [o, Fr(t)] : Fr(t)
    ) : o,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: process.env.NODE_ENV !== "production" && i === -1 && U(s) ? s.map(Il) : s,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== Re ? i === -1 ? 16 : i | 16 : i,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && it(e.ssContent),
    ssFallback: e.ssFallback && it(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function Il(e) {
  const t = it(e);
  return U(e.children) && (t.children = e.children.map(Il)), t;
}
function Lp(e = " ", t = 0) {
  return z(ir, null, e, t);
}
function Ye(e) {
  return e == null || typeof e == "boolean" ? z(Se) : U(e) ? z(
    Re,
    null,
    // #3666, avoid reference pollution when reusing vnode
    e.slice()
  ) : typeof e == "object" ? Ot(e) : z(ir, null, String(e));
}
function Ot(e) {
  return e.el === null && e.patchFlag !== -1 || e.memo ? e : it(e);
}
function zi(e, t) {
  let n = 0;
  const { shapeFlag: r } = e;
  if (t == null)
    t = null;
  else if (U(t))
    n = 16;
  else if (typeof t == "object")
    if (r & 65) {
      const o = t.default;
      o && (o._c && (o._d = !1), zi(e, o()), o._c && (o._d = !0));
      return;
    } else {
      n = 32;
      const o = t._;
      !o && !(lo in t) ? t._ctx = Ce : o === 3 && Ce && (Ce.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    Z(t) ? (t = { default: t, _ctx: Ce }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Lp(t)]) : n = 8);
  e.children = t, e.shapeFlag |= n;
}
function ct(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const r = e[n];
    for (const o in r)
      if (o === "class")
        t.class !== r.class && (t.class = Si([t.class, r.class]));
      else if (o === "style")
        t.style = Ai([t.style, r.style]);
      else if (nr(o)) {
        const i = t[o], s = r[o];
        s && i !== s && !(U(i) && i.includes(s)) && (t[o] = i ? [].concat(i, s) : s);
      } else
        o !== "" && (t[o] = r[o]);
  }
  return t;
}
function Xe(e, t, n, r = null) {
  ze(e, t, 7, [
    n,
    r
  ]);
}
const Vp = El();
let Rp = 0;
function kp(e, t, n) {
  const r = e.type, o = (t ? t.appContext : e.appContext) || Vp, i = {
    uid: Rp++,
    vnode: e,
    type: r,
    parent: t,
    appContext: o,
    root: null,
    // to be immediately set
    next: null,
    subTree: null,
    // will be set synchronously right after creation
    effect: null,
    update: null,
    // will be set synchronously right after creation
    scope: new Nf(
      !0
      /* detached */
    ),
    render: null,
    proxy: null,
    exposed: null,
    exposeProxy: null,
    withProxy: null,
    provides: t ? t.provides : Object.create(o.provides),
    accessCache: null,
    renderCache: [],
    // local resolved assets
    components: null,
    directives: null,
    // resolved props and emits options
    propsOptions: Cl(r, o),
    emitsOptions: sl(r, o),
    // emit
    emit: null,
    // to be set immediately
    emitted: null,
    // props default value
    propsDefaults: fe,
    // inheritAttrs
    inheritAttrs: r.inheritAttrs,
    // state
    ctx: fe,
    data: fe,
    props: fe,
    attrs: fe,
    slots: fe,
    refs: fe,
    setupState: fe,
    setupContext: null,
    attrsProxy: null,
    slotsProxy: null,
    // suspense related
    suspense: n,
    suspenseId: n ? n.pendingId : 0,
    asyncDep: null,
    asyncResolved: !1,
    // lifecycle hooks
    // not using enums here because it results in computed properties
    isMounted: !1,
    isUnmounted: !1,
    isDeactivated: !1,
    bc: null,
    c: null,
    bm: null,
    m: null,
    bu: null,
    u: null,
    um: null,
    bum: null,
    da: null,
    a: null,
    rtg: null,
    rtc: null,
    ec: null,
    sp: null
  };
  return process.env.NODE_ENV !== "production" ? i.ctx = op(i) : i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = Id.bind(null, i), e.ce && e.ce(i), i;
}
let Oe = null;
const nn = () => Oe || Ce;
let Ki, an, Us = "__VUE_INSTANCE_SETTERS__";
(an = jr()[Us]) || (an = jr()[Us] = []), an.push((e) => Oe = e), Ki = (e) => {
  an.length > 1 ? an.forEach((t) => t(e)) : an[0](e);
};
const bn = (e) => {
  Ki(e), e.scope.on();
}, Zt = () => {
  Oe && Oe.scope.off(), Ki(null);
}, Hp = /* @__PURE__ */ Pt("slot,component");
function di(e, t) {
  const n = t.isNativeTag || Du;
  (Hp(e) || n(e)) && A(
    "Do not use built-in or reserved HTML elements as component id: " + e
  );
}
function Ml(e) {
  return e.vnode.shapeFlag & 4;
}
let Qn = !1;
function Up(e, t = !1) {
  Qn = t;
  const { props: n, children: r } = e.vnode, o = Ml(e);
  mp(e, n, o, t), Np(e, r);
  const i = o ? zp(e, t) : void 0;
  return Qn = !1, i;
}
function zp(e, t) {
  var n;
  const r = e.type;
  if (process.env.NODE_ENV !== "production") {
    if (r.name && di(r.name, e.appContext.config), r.components) {
      const i = Object.keys(r.components);
      for (let s = 0; s < i.length; s++)
        di(i[s], e.appContext.config);
    }
    if (r.directives) {
      const i = Object.keys(r.directives);
      for (let s = 0; s < i.length; s++)
        fl(i[s]);
    }
    r.compilerOptions && Kp() && A(
      '"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
    );
  }
  e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = Wu(new Proxy(e.ctx, bl)), process.env.NODE_ENV !== "production" && ip(e);
  const { setup: o } = r;
  if (o) {
    const i = e.setupContext = o.length > 1 ? jl(e) : null;
    bn(e), en();
    const s = ft(
      o,
      e,
      0,
      [process.env.NODE_ENV !== "production" ? jn(e.props) : e.props, i]
    );
    if (tn(), Zt(), xi(s)) {
      if (s.then(Zt, Zt), t)
        return s.then((a) => {
          zs(e, a, t);
        }).catch((a) => {
          ro(a, e, 0);
        });
      if (e.asyncDep = s, process.env.NODE_ENV !== "production" && !e.suspense) {
        const a = (n = r.name) != null ? n : "Anonymous";
        A(
          `Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
        );
      }
    } else
      zs(e, s, t);
  } else
    Bl(e, t);
}
function zs(e, t, n) {
  Z(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : ce(t) ? (process.env.NODE_ENV !== "production" && Qt(t) && A(
    "setup() should not return VNodes directly - return a render function instead."
  ), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = qu(t), process.env.NODE_ENV !== "production" && sp(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && A(
    `setup() should return an object. Received: ${t === null ? "null" : typeof t}`
  ), Bl(e, n);
}
let pi;
const Kp = () => !pi;
function Bl(e, t, n) {
  const r = e.type;
  if (!e.render) {
    if (!t && pi && !r.render) {
      const o = r.template || Hi(e).template;
      if (o) {
        process.env.NODE_ENV !== "production" && ut(e, "compile");
        const { isCustomElement: i, compilerOptions: s } = e.appContext.config, { delimiters: a, compilerOptions: u } = r, l = pe(
          pe(
            {
              isCustomElement: i,
              delimiters: a
            },
            s
          ),
          u
        );
        r.render = pi(o, l), process.env.NODE_ENV !== "production" && lt(e, "compile");
      }
    }
    e.render = r.render || xe;
  }
  bn(e), en(), cp(e), tn(), Zt(), process.env.NODE_ENV !== "production" && !r.render && e.render === xe && !t && (r.template ? A(
    'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
    /* should not happen */
  ) : A("Component is missing template or render function."));
}
function Ks(e) {
  return e.attrsProxy || (e.attrsProxy = new Proxy(
    e.attrs,
    process.env.NODE_ENV !== "production" ? {
      get(t, n) {
        return Hr(), De(e, "get", "$attrs"), t[n];
      },
      set() {
        return A("setupContext.attrs is readonly."), !1;
      },
      deleteProperty() {
        return A("setupContext.attrs is readonly."), !1;
      }
    } : {
      get(t, n) {
        return De(e, "get", "$attrs"), t[n];
      }
    }
  ));
}
function Wp(e) {
  return e.slotsProxy || (e.slotsProxy = new Proxy(e.slots, {
    get(t, n) {
      return De(e, "get", "$slots"), t[n];
    }
  }));
}
function jl(e) {
  const t = (n) => {
    if (process.env.NODE_ENV !== "production" && (e.exposed && A("expose() should be called only once per setup()."), n != null)) {
      let r = typeof n;
      r === "object" && (U(n) ? r = "array" : _e(n) && (r = "ref")), r !== "object" && A(
        `expose() should be passed a plain object, received ${r}.`
      );
    }
    e.exposed = n || {};
  };
  return process.env.NODE_ENV !== "production" ? Object.freeze({
    get attrs() {
      return Ks(e);
    },
    get slots() {
      return Wp(e);
    },
    get emit() {
      return (n, ...r) => e.emit(n, ...r);
    },
    expose: t
  }) : {
    get attrs() {
      return Ks(e);
    },
    slots: e.slots,
    emit: e.emit,
    expose: t
  };
}
function co(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(qu(Wu(e.exposed)), {
      get(t, n) {
        if (n in t)
          return t[n];
        if (n in qt)
          return qt[n](e);
      },
      has(t, n) {
        return n in t || n in qt;
      }
    }));
}
const Yp = /(?:^|[-_])(\w)/g, Gp = (e) => e.replace(Yp, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function Wi(e, t = !0) {
  return Z(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function fo(e, t, n = !1) {
  let r = Wi(t);
  if (!r && t.__file) {
    const o = t.__file.match(/([^/\\]+)\.\w+$/);
    o && (r = o[1]);
  }
  if (!r && e && e.parent) {
    const o = (i) => {
      for (const s in i)
        if (i[s] === t)
          return s;
    };
    r = o(
      e.components || e.parent.type.components
    ) || o(e.appContext.components);
  }
  return r ? Gp(r) : n ? "App" : "Anonymous";
}
function Ll(e) {
  return Z(e) && "__vccOpts" in e;
}
const K = (e, t) => fd(e, t, Qn);
function Ft(e, t, n) {
  const r = arguments.length;
  return r === 2 ? ce(t) && !U(t) ? Qt(t) ? z(e, null, [t]) : z(e, t) : z(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && Qt(n) && (n = [n]), z(e, t, n));
}
const qp = Symbol.for("v-scx"), Zp = () => {
  {
    const e = hn(qp);
    return e || process.env.NODE_ENV !== "production" && A(
      "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
    ), e;
  }
};
function Bo(e) {
  return !!(e && e.__v_isShallow);
}
function Jp() {
  if (process.env.NODE_ENV === "production" || typeof window > "u")
    return;
  const e = { style: "color:#3ba776" }, t = { style: "color:#0b1bc9" }, n = { style: "color:#b62e24" }, r = { style: "color:#9d288c" }, o = {
    header(f) {
      return ce(f) ? f.__isVue ? ["div", e, "VueInstance"] : _e(f) ? [
        "div",
        {},
        ["span", e, c(f)],
        "<",
        a(f.value),
        ">"
      ] : Yt(f) ? [
        "div",
        {},
        ["span", e, Bo(f) ? "ShallowReactive" : "Reactive"],
        "<",
        a(f),
        `>${At(f) ? " (readonly)" : ""}`
      ] : At(f) ? [
        "div",
        {},
        ["span", e, Bo(f) ? "ShallowReadonly" : "Readonly"],
        "<",
        a(f),
        ">"
      ] : null : null;
    },
    hasBody(f) {
      return f && f.__isVue;
    },
    body(f) {
      if (f && f.__isVue)
        return [
          "div",
          {},
          ...i(f.$)
        ];
    }
  };
  function i(f) {
    const p = [];
    f.type.props && f.props && p.push(s("props", Q(f.props))), f.setupState !== fe && p.push(s("setup", f.setupState)), f.data !== fe && p.push(s("data", Q(f.data)));
    const h = u(f, "computed");
    h && p.push(s("computed", h));
    const C = u(f, "inject");
    return C && p.push(s("injected", C)), p.push([
      "div",
      {},
      [
        "span",
        {
          style: r.style + ";opacity:0.66"
        },
        "$ (internal): "
      ],
      ["object", { object: f }]
    ]), p;
  }
  function s(f, p) {
    return p = pe({}, p), Object.keys(p).length ? [
      "div",
      { style: "line-height:1.25em;margin-bottom:0.6em" },
      [
        "div",
        {
          style: "color:#476582"
        },
        f
      ],
      [
        "div",
        {
          style: "padding-left:1.25em"
        },
        ...Object.keys(p).map((h) => [
          "div",
          {},
          ["span", r, h + ": "],
          a(p[h], !1)
        ])
      ]
    ] : ["span", {}];
  }
  function a(f, p = !0) {
    return typeof f == "number" ? ["span", t, f] : typeof f == "string" ? ["span", n, JSON.stringify(f)] : typeof f == "boolean" ? ["span", r, f] : ce(f) ? ["object", { object: p ? Q(f) : f }] : ["span", n, String(f)];
  }
  function u(f, p) {
    const h = f.type;
    if (Z(h))
      return;
    const C = {};
    for (const _ in f.ctx)
      l(h, _, p) && (C[_] = f.ctx[_]);
    return C;
  }
  function l(f, p, h) {
    const C = f[h];
    if (U(C) && C.includes(p) || ce(C) && p in C || f.extends && l(f.extends, p, h) || f.mixins && f.mixins.some((_) => l(_, p, h)))
      return !0;
  }
  function c(f) {
    return Bo(f) ? "ShallowRef" : f.effect ? "ComputedRef" : "Ref";
  }
  window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
}
const Ws = "3.3.4", Xp = "http://www.w3.org/2000/svg", Ut = typeof document < "u" ? document : null, Ys = Ut && /* @__PURE__ */ Ut.createElement("template"), Qp = {
  insert: (e, t, n) => {
    t.insertBefore(e, n || null);
  },
  remove: (e) => {
    const t = e.parentNode;
    t && t.removeChild(e);
  },
  createElement: (e, t, n, r) => {
    const o = t ? Ut.createElementNS(Xp, e) : Ut.createElement(e, n ? { is: n } : void 0);
    return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o;
  },
  createText: (e) => Ut.createTextNode(e),
  createComment: (e) => Ut.createComment(e),
  setText: (e, t) => {
    e.nodeValue = t;
  },
  setElementText: (e, t) => {
    e.textContent = t;
  },
  parentNode: (e) => e.parentNode,
  nextSibling: (e) => e.nextSibling,
  querySelector: (e) => Ut.querySelector(e),
  setScopeId(e, t) {
    e.setAttribute(t, "");
  },
  // __UNSAFE__
  // Reason: innerHTML.
  // Static content here can only come from compiled templates.
  // As long as the user only uses trusted templates, this is safe.
  insertStaticContent(e, t, n, r, o, i) {
    const s = n ? n.previousSibling : t.lastChild;
    if (o && (o === i || o.nextSibling))
      for (; t.insertBefore(o.cloneNode(!0), n), !(o === i || !(o = o.nextSibling)); )
        ;
    else {
      Ys.innerHTML = r ? `<svg>${e}</svg>` : e;
      const a = Ys.content;
      if (r) {
        const u = a.firstChild;
        for (; u.firstChild; )
          a.appendChild(u.firstChild);
        a.removeChild(u);
      }
      t.insertBefore(a, n);
    }
    return [
      // first
      s ? s.nextSibling : t.firstChild,
      // last
      n ? n.previousSibling : t.lastChild
    ];
  }
};
function ev(e, t, n) {
  const r = e._vtc;
  r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
}
function tv(e, t, n) {
  const r = e.style, o = ge(n);
  if (n && !o) {
    if (t && !ge(t))
      for (const i in t)
        n[i] == null && vi(r, i, "");
    for (const i in n)
      vi(r, i, n[i]);
  } else {
    const i = r.display;
    o ? t !== n && (r.cssText = n) : t && e.removeAttribute("style"), "_vod" in e && (r.display = i);
  }
}
const nv = /[^\\];\s*$/, Gs = /\s*!important$/;
function vi(e, t, n) {
  if (U(n))
    n.forEach((r) => vi(e, t, r));
  else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && nv.test(n) && A(
    `Unexpected semicolon at the end of '${t}' style value: '${n}'`
  ), t.startsWith("--"))
    e.setProperty(t, n);
  else {
    const r = rv(e, t);
    Gs.test(n) ? e.setProperty(
      Dt(r),
      n.replace(Gs, ""),
      "important"
    ) : e[r] = n;
  }
}
const qs = ["Webkit", "Moz", "ms"], jo = {};
function rv(e, t) {
  const n = jo[t];
  if (n)
    return n;
  let r = rt(t);
  if (r !== "filter" && r in e)
    return jo[t] = r;
  r = Jt(r);
  for (let o = 0; o < qs.length; o++) {
    const i = qs[o] + r;
    if (i in e)
      return jo[t] = i;
  }
  return t;
}
const Zs = "http://www.w3.org/1999/xlink";
function ov(e, t, n, r, o) {
  if (r && t.startsWith("xlink:"))
    n == null ? e.removeAttributeNS(Zs, t.slice(6, t.length)) : e.setAttributeNS(Zs, t, n);
  else {
    const i = wf(t);
    n == null || i && !Pu(n) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : n);
  }
}
function iv(e, t, n, r, o, i, s) {
  if (t === "innerHTML" || t === "textContent") {
    r && s(r, o, i), e[t] = n ?? "";
    return;
  }
  const a = e.tagName;
  if (t === "value" && a !== "PROGRESS" && // custom elements may use _value internally
  !a.includes("-")) {
    e._value = n;
    const l = a === "OPTION" ? e.getAttribute("value") : e.value, c = n ?? "";
    l !== c && (e.value = c), n == null && e.removeAttribute(t);
    return;
  }
  let u = !1;
  if (n === "" || n == null) {
    const l = typeof e[t];
    l === "boolean" ? n = Pu(n) : n == null && l === "string" ? (n = "", u = !0) : l === "number" && (n = 0, u = !0);
  }
  try {
    e[t] = n;
  } catch (l) {
    process.env.NODE_ENV !== "production" && !u && A(
      `Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${n} is invalid.`,
      l
    );
  }
  u && e.removeAttribute(t);
}
function sv(e, t, n, r) {
  e.addEventListener(t, n, r);
}
function av(e, t, n, r) {
  e.removeEventListener(t, n, r);
}
function uv(e, t, n, r, o = null) {
  const i = e._vei || (e._vei = {}), s = i[t];
  if (r && s)
    s.value = r;
  else {
    const [a, u] = lv(t);
    if (r) {
      const l = i[t] = dv(r, o);
      sv(e, a, l, u);
    } else
      s && (av(e, a, s, u), i[t] = void 0);
  }
}
const Js = /(?:Once|Passive|Capture)$/;
function lv(e) {
  let t;
  if (Js.test(e)) {
    t = {};
    let r;
    for (; r = e.match(Js); )
      e = e.slice(0, e.length - r[0].length), t[r[0].toLowerCase()] = !0;
  }
  return [e[2] === ":" ? e.slice(3) : Dt(e.slice(2)), t];
}
let Lo = 0;
const cv = /* @__PURE__ */ Promise.resolve(), fv = () => Lo || (cv.then(() => Lo = 0), Lo = Date.now());
function dv(e, t) {
  const n = (r) => {
    if (!r._vts)
      r._vts = Date.now();
    else if (r._vts <= n.attached)
      return;
    ze(
      pv(r, n.value),
      t,
      5,
      [r]
    );
  };
  return n.value = e, n.attached = fv(), n;
}
function pv(e, t) {
  if (U(t)) {
    const n = e.stopImmediatePropagation;
    return e.stopImmediatePropagation = () => {
      n.call(e), e._stopped = !0;
    }, t.map((r) => (o) => !o._stopped && r && r(o));
  } else
    return t;
}
const Xs = /^on[a-z]/, vv = (e, t, n, r, o = !1, i, s, a, u) => {
  t === "class" ? ev(e, r, o) : t === "style" ? tv(e, n, r) : nr(t) ? Mr(t) || uv(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : hv(e, t, r, o)) ? iv(
    e,
    t,
    r,
    i,
    s,
    a,
    u
  ) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), ov(e, t, r, o));
};
function hv(e, t, n, r) {
  return r ? !!(t === "innerHTML" || t === "textContent" || t in e && Xs.test(t) && Z(n)) : t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA" || Xs.test(t) && ge(n) ? !1 : t in e;
}
const yt = "transition", Pn = "animation", Yi = (e, { slots: t }) => Ft(Kd, gv(e), t);
Yi.displayName = "Transition";
const Vl = {
  name: String,
  type: String,
  css: {
    type: Boolean,
    default: !0
  },
  duration: [String, Number, Object],
  enterFromClass: String,
  enterActiveClass: String,
  enterToClass: String,
  appearFromClass: String,
  appearActiveClass: String,
  appearToClass: String,
  leaveFromClass: String,
  leaveActiveClass: String,
  leaveToClass: String
};
Yi.props = /* @__PURE__ */ pe(
  {},
  dl,
  Vl
);
const jt = (e, t = []) => {
  U(e) ? e.forEach((n) => n(...t)) : e && e(...t);
}, Qs = (e) => e ? U(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1;
function gv(e) {
  const t = {};
  for (const F in e)
    F in Vl || (t[F] = e[F]);
  if (e.css === !1)
    return t;
  const {
    name: n = "v",
    type: r,
    duration: o,
    enterFromClass: i = `${n}-enter-from`,
    enterActiveClass: s = `${n}-enter-active`,
    enterToClass: a = `${n}-enter-to`,
    appearFromClass: u = i,
    appearActiveClass: l = s,
    appearToClass: c = a,
    leaveFromClass: f = `${n}-leave-from`,
    leaveActiveClass: p = `${n}-leave-active`,
    leaveToClass: h = `${n}-leave-to`
  } = e, C = mv(o), _ = C && C[0], P = C && C[1], {
    onBeforeEnter: M,
    onEnter: q,
    onEnterCancelled: j,
    onLeave: J,
    onLeaveCancelled: S,
    onBeforeAppear: te = M,
    onAppear: ee = q,
    onAppearCancelled: R = j
  } = t, W = (F, se, X) => {
    Lt(F, se ? c : a), Lt(F, se ? l : s), X && X();
  }, H = (F, se) => {
    F._isLeaving = !1, Lt(F, f), Lt(F, h), Lt(F, p), se && se();
  }, I = (F) => (se, X) => {
    const N = F ? ee : q, T = () => W(se, F, X);
    jt(N, [se, T]), ea(() => {
      Lt(se, F ? u : i), bt(se, F ? c : a), Qs(N) || ta(se, r, _, T);
    });
  };
  return pe(t, {
    onBeforeEnter(F) {
      jt(M, [F]), bt(F, i), bt(F, s);
    },
    onBeforeAppear(F) {
      jt(te, [F]), bt(F, u), bt(F, l);
    },
    onEnter: I(!1),
    onAppear: I(!0),
    onLeave(F, se) {
      F._isLeaving = !0;
      const X = () => H(F, se);
      bt(F, f), _v(), bt(F, p), ea(() => {
        F._isLeaving && (Lt(F, f), bt(F, h), Qs(J) || ta(F, r, P, X));
      }), jt(J, [F, X]);
    },
    onEnterCancelled(F) {
      W(F, !1), jt(j, [F]);
    },
    onAppearCancelled(F) {
      W(F, !0), jt(R, [F]);
    },
    onLeaveCancelled(F) {
      H(F), jt(S, [F]);
    }
  });
}
function mv(e) {
  if (e == null)
    return null;
  if (ce(e))
    return [Vo(e.enter), Vo(e.leave)];
  {
    const t = Vo(e);
    return [t, t];
  }
}
function Vo(e) {
  const t = hf(e);
  return process.env.NODE_ENV !== "production" && gd(t, "<transition> explicit duration"), t;
}
function bt(e, t) {
  t.split(/\s+/).forEach((n) => n && e.classList.add(n)), (e._vtc || (e._vtc = /* @__PURE__ */ new Set())).add(t);
}
function Lt(e, t) {
  t.split(/\s+/).forEach((r) => r && e.classList.remove(r));
  const { _vtc: n } = e;
  n && (n.delete(t), n.size || (e._vtc = void 0));
}
function ea(e) {
  requestAnimationFrame(() => {
    requestAnimationFrame(e);
  });
}
let yv = 0;
function ta(e, t, n, r) {
  const o = e._endId = ++yv, i = () => {
    o === e._endId && r();
  };
  if (n)
    return setTimeout(i, n);
  const { type: s, timeout: a, propCount: u } = bv(e, t);
  if (!s)
    return r();
  const l = s + "end";
  let c = 0;
  const f = () => {
    e.removeEventListener(l, p), i();
  }, p = (h) => {
    h.target === e && ++c >= u && f();
  };
  setTimeout(() => {
    c < u && f();
  }, a + 1), e.addEventListener(l, p);
}
function bv(e, t) {
  const n = window.getComputedStyle(e), r = (C) => (n[C] || "").split(", "), o = r(`${yt}Delay`), i = r(`${yt}Duration`), s = na(o, i), a = r(`${Pn}Delay`), u = r(`${Pn}Duration`), l = na(a, u);
  let c = null, f = 0, p = 0;
  t === yt ? s > 0 && (c = yt, f = s, p = i.length) : t === Pn ? l > 0 && (c = Pn, f = l, p = u.length) : (f = Math.max(s, l), c = f > 0 ? s > l ? yt : Pn : null, p = c ? c === yt ? i.length : u.length : 0);
  const h = c === yt && /\b(transform|all)(,|$)/.test(
    r(`${yt}Property`).toString()
  );
  return {
    type: c,
    timeout: f,
    propCount: p,
    hasTransform: h
  };
}
function na(e, t) {
  for (; e.length < t.length; )
    e = e.concat(e);
  return Math.max(...t.map((n, r) => ra(n) + ra(e[r])));
}
function ra(e) {
  return Number(e.slice(0, -1).replace(",", ".")) * 1e3;
}
function _v() {
  return document.body.offsetHeight;
}
const Ev = {
  beforeMount(e, { value: t }, { transition: n }) {
    e._vod = e.style.display === "none" ? "" : e.style.display, n && t ? n.beforeEnter(e) : Fn(e, t);
  },
  mounted(e, { value: t }, { transition: n }) {
    n && t && n.enter(e);
  },
  updated(e, { value: t, oldValue: n }, { transition: r }) {
    !t != !n && (r ? t ? (r.beforeEnter(e), Fn(e, !0), r.enter(e)) : r.leave(e, () => {
      Fn(e, !1);
    }) : Fn(e, t));
  },
  beforeUnmount(e, { value: t }) {
    Fn(e, t);
  }
};
function Fn(e, t) {
  e.style.display = t ? e._vod : "none";
}
const $v = /* @__PURE__ */ pe({ patchProp: vv }, Qp);
let oa;
function Ov() {
  return oa || (oa = Tp($v));
}
const Rl = (...e) => {
  const t = Ov().createApp(...e);
  process.env.NODE_ENV !== "production" && (Cv(t), wv(t));
  const { mount: n } = t;
  return t.mount = (r) => {
    const o = Nv(r);
    if (!o)
      return;
    const i = t._component;
    !Z(i) && !i.render && !i.template && (i.template = o.innerHTML), o.innerHTML = "";
    const s = n(o, !1, o instanceof SVGElement);
    return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), s;
  }, t;
};
function Cv(e) {
  Object.defineProperty(e.config, "isNativeTag", {
    value: (t) => $f(t) || Of(t),
    writable: !1
  });
}
function wv(e) {
  {
    const t = e.config.isCustomElement;
    Object.defineProperty(e.config, "isCustomElement", {
      get() {
        return t;
      },
      set() {
        A(
          "The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead."
        );
      }
    });
    const n = e.config.compilerOptions, r = 'The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';
    Object.defineProperty(e.config, "compilerOptions", {
      get() {
        return A(r), n;
      },
      set() {
        A(r);
      }
    });
  }
}
function Nv(e) {
  if (ge(e)) {
    const t = document.querySelector(e);
    return process.env.NODE_ENV !== "production" && !t && A(
      `Failed to mount app: mount target selector "${e}" returned null.`
    ), t;
  }
  return process.env.NODE_ENV !== "production" && window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" && A(
    'mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'
  ), e;
}
function xv() {
  Jp();
}
process.env.NODE_ENV !== "production" && xv();
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function hi(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e[n];
  return r;
}
function kl(e, t) {
  if (e) {
    if (typeof e == "string")
      return hi(e, t);
    var n = Object.prototype.toString.call(e).slice(8, -1);
    if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set")
      return Array.from(e);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
      return hi(e, t);
  }
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Dv(e) {
  if (Array.isArray(e))
    return hi(e);
}
function Tv(e) {
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
    return Array.from(e);
}
function Av() {
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function Hl(e) {
  return Dv(e) || Tv(e) || kl(e) || Av();
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function we(e) {
  "@babel/helpers - typeof";
  return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, we(e);
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Sv(e, t) {
  if (we(e) != "object" || !e)
    return e;
  var n = e[Symbol.toPrimitive];
  if (n !== void 0) {
    var r = n.call(e, t || "default");
    if (we(r) != "object")
      return r;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
function Ul(e) {
  var t = Sv(e, "string");
  return we(t) == "symbol" ? t : String(t);
}
function he(e, t, n) {
  return t = Ul(t), t in e ? Object.defineProperty(e, t, {
    value: n,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = n, e;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Pv(e) {
  var t = we(e);
  return e != null && (t == "object" || t == "function");
}
var Pe = Pv;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Fv = we(wt) == "object" && wt && wt.Object === Object && wt, zl = Fv, Iv = zl, Mv = (typeof self > "u" ? "undefined" : we(self)) == "object" && self && self.Object === Object && self, Bv = Iv || Mv || Function("return this")(), st = Bv, jv = st, Lv = jv.Symbol, $n = Lv, ia = $n, Kl = Object.prototype, Vv = Kl.hasOwnProperty, Rv = Kl.toString, In = ia ? ia.toStringTag : void 0;
function kv(e) {
  var t = Vv.call(e, In), n = e[In];
  try {
    e[In] = void 0;
    var r = !0;
  } catch {
  }
  var o = Rv.call(e);
  return r && (t ? e[In] = n : delete e[In]), o;
}
var Hv = kv, Uv = Object.prototype, zv = Uv.toString;
function Kv(e) {
  return zv.call(e);
}
var Wv = Kv, sa = $n, Yv = Hv, Gv = Wv, qv = "[object Null]", Zv = "[object Undefined]", aa = sa ? sa.toStringTag : void 0;
function Jv(e) {
  return e == null ? e === void 0 ? Zv : qv : aa && aa in Object(e) ? Yv(e) : Gv(e);
}
var It = Jv;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Xv = It, Qv = Pe, eh = "[object AsyncFunction]", th = "[object Function]", nh = "[object GeneratorFunction]", rh = "[object Proxy]";
function oh(e) {
  if (!Qv(e))
    return !1;
  var t = Xv(e);
  return t == th || t == nh || t == eh || t == rh;
}
var vt = oh;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var ih = st, sh = ih["__core-js_shared__"], ah = sh, Ro = ah, ua = function() {
  var e = /[^.]+$/.exec(Ro && Ro.keys && Ro.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
}();
function uh(e) {
  return !!ua && ua in e;
}
var lh = uh, ch = Function.prototype, fh = ch.toString;
function dh(e) {
  if (e != null) {
    try {
      return fh.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
var Wl = dh, ph = vt, vh = lh, hh = Pe, gh = Wl, mh = /[\\^$.*+?()[\]{}|]/g, yh = /^\[object .+?Constructor\]$/, bh = Function.prototype, _h = Object.prototype, Eh = bh.toString, $h = _h.hasOwnProperty, Oh = RegExp("^" + Eh.call($h).replace(mh, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
function Ch(e) {
  if (!hh(e) || vh(e))
    return !1;
  var t = ph(e) ? Oh : yh;
  return t.test(gh(e));
}
var wh = Ch;
function Nh(e, t) {
  return e == null ? void 0 : e[t];
}
var xh = Nh, Dh = wh, Th = xh;
function Ah(e, t) {
  var n = Th(e, t);
  return Dh(n) ? n : void 0;
}
var rn = Ah, Sh = rn, Ph = st, Fh = Sh(Ph, "Map"), Gi = Fh;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Ih = rn, Mh = function() {
  try {
    var e = Ih(Object, "defineProperty");
    return e({}, "", {}), e;
  } catch {
  }
}(), Yl = Mh;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Bh(e, t) {
  return e === t || e !== e && t !== t;
}
var sr = Bh;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var la = Yl;
function jh(e, t, n) {
  t == "__proto__" && la ? la(e, t, {
    configurable: !0,
    enumerable: !0,
    value: n,
    writable: !0
  }) : e[t] = n;
}
var po = jh, Lh = po, Vh = sr, Rh = Object.prototype, kh = Rh.hasOwnProperty;
function Hh(e, t, n) {
  var r = e[t];
  (!(kh.call(e, t) && Vh(r, n)) || n === void 0 && !(t in e)) && Lh(e, t, n);
}
var Gl = Hh;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Uh() {
  this.__data__ = [], this.size = 0;
}
var zh = Uh, Kh = sr;
function Wh(e, t) {
  for (var n = e.length; n--; )
    if (Kh(e[n][0], t))
      return n;
  return -1;
}
var vo = Wh, Yh = vo, Gh = Array.prototype, qh = Gh.splice;
function Zh(e) {
  var t = this.__data__, n = Yh(t, e);
  if (n < 0)
    return !1;
  var r = t.length - 1;
  return n == r ? t.pop() : qh.call(t, n, 1), --this.size, !0;
}
var Jh = Zh, Xh = vo;
function Qh(e) {
  var t = this.__data__, n = Xh(t, e);
  return n < 0 ? void 0 : t[n][1];
}
var eg = Qh, tg = vo;
function ng(e) {
  return tg(this.__data__, e) > -1;
}
var rg = ng, og = vo;
function ig(e, t) {
  var n = this.__data__, r = og(n, e);
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
}
var sg = ig, ag = zh, ug = Jh, lg = eg, cg = rg, fg = sg;
function On(e) {
  var t = -1, n = e == null ? 0 : e.length;
  for (this.clear(); ++t < n; ) {
    var r = e[t];
    this.set(r[0], r[1]);
  }
}
On.prototype.clear = ag;
On.prototype.delete = ug;
On.prototype.get = lg;
On.prototype.has = cg;
On.prototype.set = fg;
var ho = On, dg = rn, pg = dg(Object, "create"), go = pg, ca = go;
function vg() {
  this.__data__ = ca ? ca(null) : {}, this.size = 0;
}
var hg = vg;
function gg(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
var mg = gg, yg = go, bg = "__lodash_hash_undefined__", _g = Object.prototype, Eg = _g.hasOwnProperty;
function $g(e) {
  var t = this.__data__;
  if (yg) {
    var n = t[e];
    return n === bg ? void 0 : n;
  }
  return Eg.call(t, e) ? t[e] : void 0;
}
var Og = $g, Cg = go, wg = Object.prototype, Ng = wg.hasOwnProperty;
function xg(e) {
  var t = this.__data__;
  return Cg ? t[e] !== void 0 : Ng.call(t, e);
}
var Dg = xg, Tg = go, Ag = "__lodash_hash_undefined__";
function Sg(e, t) {
  var n = this.__data__;
  return this.size += this.has(e) ? 0 : 1, n[e] = Tg && t === void 0 ? Ag : t, this;
}
var Pg = Sg, Fg = hg, Ig = mg, Mg = Og, Bg = Dg, jg = Pg;
function Cn(e) {
  var t = -1, n = e == null ? 0 : e.length;
  for (this.clear(); ++t < n; ) {
    var r = e[t];
    this.set(r[0], r[1]);
  }
}
Cn.prototype.clear = Fg;
Cn.prototype.delete = Ig;
Cn.prototype.get = Mg;
Cn.prototype.has = Bg;
Cn.prototype.set = jg;
var Lg = Cn, fa = Lg, Vg = ho, Rg = Gi;
function kg() {
  this.size = 0, this.__data__ = {
    hash: new fa(),
    map: new (Rg || Vg)(),
    string: new fa()
  };
}
var Hg = kg;
function Ug(e) {
  var t = we(e);
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
var zg = Ug, Kg = zg;
function Wg(e, t) {
  var n = e.__data__;
  return Kg(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
}
var mo = Wg, Yg = mo;
function Gg(e) {
  var t = Yg(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
var qg = Gg, Zg = mo;
function Jg(e) {
  return Zg(this, e).get(e);
}
var Xg = Jg, Qg = mo;
function em(e) {
  return Qg(this, e).has(e);
}
var tm = em, nm = mo;
function rm(e, t) {
  var n = nm(this, e), r = n.size;
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
}
var om = rm, im = Hg, sm = qg, am = Xg, um = tm, lm = om;
function wn(e) {
  var t = -1, n = e == null ? 0 : e.length;
  for (this.clear(); ++t < n; ) {
    var r = e[t];
    this.set(r[0], r[1]);
  }
}
wn.prototype.clear = im;
wn.prototype.delete = sm;
wn.prototype.get = am;
wn.prototype.has = um;
wn.prototype.set = lm;
var qi = wn;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function cm(e) {
  return e != null && we(e) == "object";
}
var Ze = cm;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var fm = It, dm = Ze, pm = "[object Arguments]";
function vm(e) {
  return dm(e) && fm(e) == pm;
}
var hm = vm, da = hm, gm = Ze, ql = Object.prototype, mm = ql.hasOwnProperty, ym = ql.propertyIsEnumerable, bm = da(function() {
  return arguments;
}()) ? da : function(e) {
  return gm(e) && mm.call(e, "callee") && !ym.call(e, "callee");
}, ar = bm;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var _m = Array.isArray, ke = _m;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Em = 9007199254740991;
function $m(e) {
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Em;
}
var Zi = $m, Om = vt, Cm = Zi;
function wm(e) {
  return e != null && Cm(e.length) && !Om(e);
}
var ur = wm;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Nm(e) {
  return function(t) {
    return e(t);
  };
}
var Ji = Nm;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var St = { exports: {} };
function xm() {
  return !1;
}
var Dm = xm;
(function(e, t) {
  var n = st, r = Dm, o = t && !t.nodeType && t, i = o && !0 && e && !e.nodeType && e, s = i && i.exports === o, a = s ? n.Buffer : void 0, u = a ? a.isBuffer : void 0, l = u || r;
  e.exports = l;
})(St, St.exports);
St.exports;
var Tm = It, Am = Zi, Sm = Ze, Pm = "[object Arguments]", Fm = "[object Array]", Im = "[object Boolean]", Mm = "[object Date]", Bm = "[object Error]", jm = "[object Function]", Lm = "[object Map]", Vm = "[object Number]", Rm = "[object Object]", km = "[object RegExp]", Hm = "[object Set]", Um = "[object String]", zm = "[object WeakMap]", Km = "[object ArrayBuffer]", Wm = "[object DataView]", Ym = "[object Float32Array]", Gm = "[object Float64Array]", qm = "[object Int8Array]", Zm = "[object Int16Array]", Jm = "[object Int32Array]", Xm = "[object Uint8Array]", Qm = "[object Uint8ClampedArray]", ey = "[object Uint16Array]", ty = "[object Uint32Array]", ve = {};
ve[Ym] = ve[Gm] = ve[qm] = ve[Zm] = ve[Jm] = ve[Xm] = ve[Qm] = ve[ey] = ve[ty] = !0;
ve[Pm] = ve[Fm] = ve[Km] = ve[Im] = ve[Wm] = ve[Mm] = ve[Bm] = ve[jm] = ve[Lm] = ve[Vm] = ve[Rm] = ve[km] = ve[Hm] = ve[Um] = ve[zm] = !1;
function ny(e) {
  return Sm(e) && Am(e.length) && !!ve[Tm(e)];
}
var ry = ny, _n = { exports: {} };
(function(e, t) {
  var n = zl, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, s = i && n.process, a = function() {
    try {
      var u = o && o.require && o.require("util").types;
      return u || s && s.binding && s.binding("util");
    } catch {
    }
  }();
  e.exports = a;
})(_n, _n.exports);
_n.exports;
var oy = ry, iy = Ji, pa = _n.exports, va = pa && pa.isTypedArray, sy = va ? iy(va) : oy, yo = sy, ay = Object.prototype;
function uy(e) {
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || ay;
  return e === n;
}
var bo = uy;
function ly(e, t) {
  return function(n) {
    return e(t(n));
  };
}
var Zl = ly;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var cy = 9007199254740991, fy = /^(?:0|[1-9]\d*)$/;
function dy(e, t) {
  var n = we(e);
  return t = t ?? cy, !!t && (n == "number" || n != "symbol" && fy.test(e)) && e > -1 && e % 1 == 0 && e < t;
}
var Xi = dy;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function py(e, t) {
  for (var n = -1, r = Array(e); ++n < e; )
    r[n] = t(n);
  return r;
}
var vy = py, hy = vy, gy = ar, my = ke, yy = St.exports, by = Xi, _y = yo, Ey = Object.prototype, $y = Ey.hasOwnProperty;
function Oy(e, t) {
  var n = my(e), r = !n && gy(e), o = !n && !r && yy(e), i = !n && !r && !o && _y(e), s = n || r || o || i, a = s ? hy(e.length, String) : [], u = a.length;
  for (var l in e)
    (t || $y.call(e, l)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
    (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
    o && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
    i && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
    by(l, u))) && a.push(l);
  return a;
}
var Jl = Oy, Cy = ho;
function wy() {
  this.__data__ = new Cy(), this.size = 0;
}
var Ny = wy;
function xy(e) {
  var t = this.__data__, n = t.delete(e);
  return this.size = t.size, n;
}
var Dy = xy;
function Ty(e) {
  return this.__data__.get(e);
}
var Ay = Ty;
function Sy(e) {
  return this.__data__.has(e);
}
var Py = Sy, Fy = ho, Iy = Gi, My = qi, By = 200;
function jy(e, t) {
  var n = this.__data__;
  if (n instanceof Fy) {
    var r = n.__data__;
    if (!Iy || r.length < By - 1)
      return r.push([e, t]), this.size = ++n.size, this;
    n = this.__data__ = new My(r);
  }
  return n.set(e, t), this.size = n.size, this;
}
var Ly = jy, Vy = ho, Ry = Ny, ky = Dy, Hy = Ay, Uy = Py, zy = Ly;
function Nn(e) {
  var t = this.__data__ = new Vy(e);
  this.size = t.size;
}
Nn.prototype.clear = Ry;
Nn.prototype.delete = ky;
Nn.prototype.get = Hy;
Nn.prototype.has = Uy;
Nn.prototype.set = zy;
var _o = Nn, Ky = st, Wy = Ky.Uint8Array, Xl = Wy, Yy = Gl, Gy = po;
function qy(e, t, n, r) {
  var o = !n;
  n || (n = {});
  for (var i = -1, s = t.length; ++i < s; ) {
    var a = t[i], u = r ? r(n[a], e[a], a, n, e) : void 0;
    u === void 0 && (u = e[a]), o ? Gy(n, a, u) : Yy(n, a, u);
  }
  return n;
}
var xn = qy;
function Zy(e) {
  var t = [];
  if (e != null)
    for (var n in Object(e))
      t.push(n);
  return t;
}
var Jy = Zy, Xy = Pe, Qy = bo, eb = Jy, tb = Object.prototype, nb = tb.hasOwnProperty;
function rb(e) {
  if (!Xy(e))
    return eb(e);
  var t = Qy(e), n = [];
  for (var r in e)
    r == "constructor" && (t || !nb.call(e, r)) || n.push(r);
  return n;
}
var ob = rb, ib = Jl, sb = ob, ab = ur;
function ub(e) {
  return ab(e) ? ib(e, !0) : sb(e);
}
var lr = ub, er = { exports: {} };
(function(e, t) {
  var n = st, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, s = i ? n.Buffer : void 0, a = s ? s.allocUnsafe : void 0;
  function u(l, c) {
    if (c)
      return l.slice();
    var f = l.length, p = a ? a(f) : new l.constructor(f);
    return l.copy(p), p;
  }
  e.exports = u;
})(er, er.exports);
er.exports;
function lb(e, t) {
  var n = -1, r = e.length;
  for (t || (t = Array(r)); ++n < r; )
    t[n] = e[n];
  return t;
}
var Ql = lb, cb = Zl, fb = cb(Object.getPrototypeOf, Object), Qi = fb, ha = Xl;
function db(e) {
  var t = new e.constructor(e.byteLength);
  return new ha(t).set(new ha(e)), t;
}
var es = db, pb = es;
function vb(e, t) {
  var n = t ? pb(e.buffer) : e.buffer;
  return new e.constructor(n, e.byteOffset, e.length);
}
var ec = vb, hb = Pe, ga = Object.create, gb = function() {
  function e() {
  }
  return function(t) {
    if (!hb(t))
      return {};
    if (ga)
      return ga(t);
    e.prototype = t;
    var n = new e();
    return e.prototype = void 0, n;
  };
}(), mb = gb, yb = mb, bb = Qi, _b = bo;
function Eb(e) {
  return typeof e.constructor == "function" && !_b(e) ? yb(bb(e)) : {};
}
var tc = Eb;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function $b(e) {
  return e;
}
var ts = $b;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Ob(e, t, n) {
  switch (n.length) {
    case 0:
      return e.call(t);
    case 1:
      return e.call(t, n[0]);
    case 2:
      return e.call(t, n[0], n[1]);
    case 3:
      return e.call(t, n[0], n[1], n[2]);
  }
  return e.apply(t, n);
}
var Cb = Ob, wb = Cb, ma = Math.max;
function Nb(e, t, n) {
  return t = ma(t === void 0 ? e.length - 1 : t, 0), function() {
    for (var r = arguments, o = -1, i = ma(r.length - t, 0), s = Array(i); ++o < i; )
      s[o] = r[t + o];
    o = -1;
    for (var a = Array(t + 1); ++o < t; )
      a[o] = r[o];
    return a[t] = n(s), wb(e, this, a);
  };
}
var nc = Nb;
function xb(e) {
  return function() {
    return e;
  };
}
var Db = xb, Tb = Db, ya = Yl, Ab = ts, Sb = ya ? function(e, t) {
  return ya(e, "toString", {
    configurable: !0,
    enumerable: !1,
    value: Tb(t),
    writable: !0
  });
} : Ab, Pb = Sb, Fb = 800, Ib = 16, Mb = Date.now;
function Bb(e) {
  var t = 0, n = 0;
  return function() {
    var r = Mb(), o = Ib - (r - n);
    if (n = r, o > 0) {
      if (++t >= Fb)
        return arguments[0];
    } else
      t = 0;
    return e.apply(void 0, arguments);
  };
}
var jb = Bb, Lb = Pb, Vb = jb, Rb = Vb(Lb), rc = Rb;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var kb = ur, Hb = Ze;
function Ub(e) {
  return Hb(e) && kb(e);
}
var zb = Ub, Kb = ts, Wb = nc, Yb = rc;
function Gb(e, t) {
  return Yb(Wb(e, t, Kb), e + "");
}
var qb = Gb;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Zb = It, Jb = Qi, Xb = Ze, Qb = "[object Object]", e_ = Function.prototype, t_ = Object.prototype, oc = e_.toString, n_ = t_.hasOwnProperty, r_ = oc.call(Object);
function o_(e) {
  if (!Xb(e) || Zb(e) != Qb)
    return !1;
  var t = Jb(e);
  if (t === null)
    return !0;
  var n = n_.call(t, "constructor") && t.constructor;
  return typeof n == "function" && n instanceof n && oc.call(n) == r_;
}
var ic = o_;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var i_ = sr, s_ = ur, a_ = Xi, u_ = Pe;
function l_(e, t, n) {
  if (!u_(n))
    return !1;
  var r = we(t);
  return (r == "number" ? s_(n) && a_(t, n.length) : r == "string" && t in n) ? i_(n[t], e) : !1;
}
var c_ = l_;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var f_ = {
  classPrefix: "t",
  animation: {
    include: ["ripple", "expand", "fade"],
    exclude: []
  },
  calendar: {
    firstDayOfWeek: 1,
    fillWithZero: !0,
    controllerConfig: void 0
  },
  icon: {},
  input: {
    autocomplete: ""
  },
  dialog: {
    closeOnEscKeydown: !0,
    closeOnOverlayClick: !0,
    confirmBtnTheme: {
      default: "primary",
      info: "primary",
      warning: "primary",
      danger: "primary",
      success: "primary"
    }
  },
  message: {},
  popconfirm: {
    confirmBtnTheme: {
      default: "primary",
      warning: "primary",
      danger: "primary"
    }
  },
  table: {
    expandIcon: void 0,
    sortIcon: void 0,
    filterIcon: void 0,
    treeExpandAndFoldIcon: void 0,
    hideSortTips: !1,
    size: "medium"
  },
  select: {
    clearIcon: void 0,
    filterable: !1
  },
  drawer: {
    closeOnEscKeydown: !0,
    closeOnOverlayClick: !0,
    size: "small"
  },
  tree: {
    folderIcon: void 0
  },
  datePicker: {
    firstDayOfWeek: 1
  },
  steps: {
    checkIcon: void 0,
    errorIcon: void 0
  },
  tag: {
    closeIcon: void 0
  },
  form: {
    requiredMark: void 0
  }
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var sc = { exports: {} };
(function(e, t) {
  (function(n, r) {
    e.exports = r();
  })(wt, function() {
    var n = 1e3, r = 6e4, o = 36e5, i = "millisecond", s = "second", a = "minute", u = "hour", l = "day", c = "week", f = "month", p = "quarter", h = "year", C = "date", _ = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, M = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, q = {
      name: "en",
      weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
      months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
      ordinal: function(N) {
        var T = ["th", "st", "nd", "rd"], D = N % 100;
        return "[" + N + (T[(D - 20) % 10] || T[D] || T[0]) + "]";
      }
    }, j = function(N, T, D) {
      var E = String(N);
      return !E || E.length >= T ? N : "" + Array(T + 1 - E.length).join(D) + N;
    }, J = {
      s: j,
      z: function(N) {
        var T = -N.utcOffset(), D = Math.abs(T), E = Math.floor(D / 60), k = D % 60;
        return (T <= 0 ? "+" : "-") + j(E, 2, "0") + ":" + j(k, 2, "0");
      },
      m: function X(N, T) {
        if (N.date() < T.date())
          return -X(T, N);
        var D = 12 * (T.year() - N.year()) + (T.month() - N.month()), E = N.clone().add(D, f), k = T - E < 0, Y = N.clone().add(D + (k ? -1 : 1), f);
        return +(-(D + (T - E) / (k ? E - Y : Y - E)) || 0);
      },
      a: function(N) {
        return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
      },
      p: function(N) {
        return {
          M: f,
          y: h,
          w: c,
          d: l,
          D: C,
          h: u,
          m: a,
          s,
          ms: i,
          Q: p
        }[N] || String(N || "").toLowerCase().replace(/s$/, "");
      },
      u: function(N) {
        return N === void 0;
      }
    }, S = "en", te = {};
    te[S] = q;
    var ee = "$isDayjsObject", R = function(N) {
      return N instanceof F || !(!N || !N[ee]);
    }, W = function X(N, T, D) {
      var E;
      if (!N)
        return S;
      if (typeof N == "string") {
        var k = N.toLowerCase();
        te[k] && (E = k), T && (te[k] = T, E = k);
        var Y = N.split("-");
        if (!E && Y.length > 1)
          return X(Y[0]);
      } else {
        var oe = N.name;
        te[oe] = N, E = oe;
      }
      return !D && E && (S = E), E || !D && S;
    }, H = function(N, T) {
      if (R(N))
        return N.clone();
      var D = we(T) == "object" ? T : {};
      return D.date = N, D.args = arguments, new F(D);
    }, I = J;
    I.l = W, I.i = R, I.w = function(X, N) {
      return H(X, {
        locale: N.$L,
        utc: N.$u,
        x: N.$x,
        $offset: N.$offset
      });
    };
    var F = function() {
      function X(T) {
        this.$L = W(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[ee] = !0;
      }
      var N = X.prototype;
      return N.parse = function(T) {
        this.$d = function(D) {
          var E = D.date, k = D.utc;
          if (E === null)
            return /* @__PURE__ */ new Date(NaN);
          if (I.u(E))
            return /* @__PURE__ */ new Date();
          if (E instanceof Date)
            return new Date(E);
          if (typeof E == "string" && !/Z$/i.test(E)) {
            var Y = E.match(P);
            if (Y) {
              var oe = Y[2] - 1 || 0, ae = (Y[7] || "0").substring(0, 3);
              return k ? new Date(Date.UTC(Y[1], oe, Y[3] || 1, Y[4] || 0, Y[5] || 0, Y[6] || 0, ae)) : new Date(Y[1], oe, Y[3] || 1, Y[4] || 0, Y[5] || 0, Y[6] || 0, ae);
            }
          }
          return new Date(E);
        }(T), this.init();
      }, N.init = function() {
        var T = this.$d;
        this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds();
      }, N.$utils = function() {
        return I;
      }, N.isValid = function() {
        return this.$d.toString() !== _;
      }, N.isSame = function(T, D) {
        var E = H(T);
        return this.startOf(D) <= E && E <= this.endOf(D);
      }, N.isAfter = function(T, D) {
        return H(T) < this.startOf(D);
      }, N.isBefore = function(T, D) {
        return this.endOf(D) < H(T);
      }, N.$g = function(T, D, E) {
        return I.u(T) ? this[D] : this.set(E, T);
      }, N.unix = function() {
        return Math.floor(this.valueOf() / 1e3);
      }, N.valueOf = function() {
        return this.$d.getTime();
      }, N.startOf = function(T, D) {
        var E = this, k = !!I.u(D) || D, Y = I.p(T), oe = function(Ee, $e) {
          var Fe = I.w(E.$u ? Date.UTC(E.$y, $e, Ee) : new Date(E.$y, $e, Ee), E);
          return k ? Fe : Fe.endOf(l);
        }, ae = function(Ee, $e) {
          return I.w(E.toDate()[Ee].apply(E.toDate("s"), (k ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($e)), E);
        }, ue = this.$W, me = this.$M, Te = this.$D, Le = "set" + (this.$u ? "UTC" : "");
        switch (Y) {
          case h:
            return k ? oe(1, 0) : oe(31, 11);
          case f:
            return k ? oe(1, me) : oe(0, me + 1);
          case c:
            var be = this.$locale().weekStart || 0, He = (ue < be ? ue + 7 : ue) - be;
            return oe(k ? Te - He : Te + (6 - He), me);
          case l:
          case C:
            return ae(Le + "Hours", 0);
          case u:
            return ae(Le + "Minutes", 1);
          case a:
            return ae(Le + "Seconds", 2);
          case s:
            return ae(Le + "Milliseconds", 3);
          default:
            return this.clone();
        }
      }, N.endOf = function(T) {
        return this.startOf(T, !1);
      }, N.$set = function(T, D) {
        var E, k = I.p(T), Y = "set" + (this.$u ? "UTC" : ""), oe = (E = {}, E[l] = Y + "Date", E[C] = Y + "Date", E[f] = Y + "Month", E[h] = Y + "FullYear", E[u] = Y + "Hours", E[a] = Y + "Minutes", E[s] = Y + "Seconds", E[i] = Y + "Milliseconds", E)[k], ae = k === l ? this.$D + (D - this.$W) : D;
        if (k === f || k === h) {
          var ue = this.clone().set(C, 1);
          ue.$d[oe](ae), ue.init(), this.$d = ue.set(C, Math.min(this.$D, ue.daysInMonth())).$d;
        } else
          oe && this.$d[oe](ae);
        return this.init(), this;
      }, N.set = function(T, D) {
        return this.clone().$set(T, D);
      }, N.get = function(T) {
        return this[I.p(T)]();
      }, N.add = function(T, D) {
        var E, k = this;
        T = Number(T);
        var Y = I.p(D), oe = function(Te) {
          var Le = H(k);
          return I.w(Le.date(Le.date() + Math.round(Te * T)), k);
        };
        if (Y === f)
          return this.set(f, this.$M + T);
        if (Y === h)
          return this.set(h, this.$y + T);
        if (Y === l)
          return oe(1);
        if (Y === c)
          return oe(7);
        var ae = (E = {}, E[a] = r, E[u] = o, E[s] = n, E)[Y] || 1, ue = this.$d.getTime() + T * ae;
        return I.w(ue, this);
      }, N.subtract = function(T, D) {
        return this.add(-1 * T, D);
      }, N.format = function(T) {
        var D = this, E = this.$locale();
        if (!this.isValid())
          return E.invalidDate || _;
        var k = T || "YYYY-MM-DDTHH:mm:ssZ", Y = I.z(this), oe = this.$H, ae = this.$m, ue = this.$M, me = E.weekdays, Te = E.months, Le = E.meridiem, be = function($e, Fe, d, v) {
          return $e && ($e[Fe] || $e(D, k)) || d[Fe].slice(0, v);
        }, He = function($e) {
          return I.s(oe % 12 || 12, $e, "0");
        }, at = Le || function(Ee, $e, Fe) {
          var d = Ee < 12 ? "AM" : "PM";
          return Fe ? d.toLowerCase() : d;
        };
        return k.replace(M, function(Ee, $e) {
          return $e || function(Fe) {
            switch (Fe) {
              case "YY":
                return String(D.$y).slice(-2);
              case "YYYY":
                return I.s(D.$y, 4, "0");
              case "M":
                return ue + 1;
              case "MM":
                return I.s(ue + 1, 2, "0");
              case "MMM":
                return be(E.monthsShort, ue, Te, 3);
              case "MMMM":
                return be(Te, ue);
              case "D":
                return D.$D;
              case "DD":
                return I.s(D.$D, 2, "0");
              case "d":
                return String(D.$W);
              case "dd":
                return be(E.weekdaysMin, D.$W, me, 2);
              case "ddd":
                return be(E.weekdaysShort, D.$W, me, 3);
              case "dddd":
                return me[D.$W];
              case "H":
                return String(oe);
              case "HH":
                return I.s(oe, 2, "0");
              case "h":
                return He(1);
              case "hh":
                return He(2);
              case "a":
                return at(oe, ae, !0);
              case "A":
                return at(oe, ae, !1);
              case "m":
                return String(ae);
              case "mm":
                return I.s(ae, 2, "0");
              case "s":
                return String(D.$s);
              case "ss":
                return I.s(D.$s, 2, "0");
              case "SSS":
                return I.s(D.$ms, 3, "0");
              case "Z":
                return Y;
            }
            return null;
          }(Ee) || Y.replace(":", "");
        });
      }, N.utcOffset = function() {
        return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
      }, N.diff = function(T, D, E) {
        var k, Y = this, oe = I.p(D), ae = H(T), ue = (ae.utcOffset() - this.utcOffset()) * r, me = this - ae, Te = function() {
          return I.m(Y, ae);
        };
        switch (oe) {
          case h:
            k = Te() / 12;
            break;
          case f:
            k = Te();
            break;
          case p:
            k = Te() / 3;
            break;
          case c:
            k = (me - ue) / 6048e5;
            break;
          case l:
            k = (me - ue) / 864e5;
            break;
          case u:
            k = me / o;
            break;
          case a:
            k = me / r;
            break;
          case s:
            k = me / n;
            break;
          default:
            k = me;
        }
        return E ? k : I.a(k);
      }, N.daysInMonth = function() {
        return this.endOf(f).$D;
      }, N.$locale = function() {
        return te[this.$L];
      }, N.locale = function(T, D) {
        if (!T)
          return this.$L;
        var E = this.clone(), k = W(T, D, !0);
        return k && (E.$L = k), E;
      }, N.clone = function() {
        return I.w(this.$d, this);
      }, N.toDate = function() {
        return new Date(this.valueOf());
      }, N.toJSON = function() {
        return this.isValid() ? this.toISOString() : null;
      }, N.toISOString = function() {
        return this.$d.toISOString();
      }, N.toString = function() {
        return this.$d.toUTCString();
      }, X;
    }(), se = F.prototype;
    return H.prototype = se, [["$ms", i], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", f], ["$y", h], ["$D", C]].forEach(function(X) {
      se[X[1]] = function(N) {
        return this.$g(N, X[0], X[1]);
      };
    }), H.extend = function(X, N) {
      return X.$i || (X(N, F, H), X.$i = !0), H;
    }, H.locale = W, H.isDayjs = R, H.unix = function(X) {
      return H(1e3 * X);
    }, H.en = te[S], H.Ls = te, H.p = {}, H;
  });
})(sc);
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var d_ = { exports: {} };
(function(e, t) {
  (function(n, r) {
    e.exports = r(sc.exports);
  })(wt, function(n) {
    function r(s) {
      return s && we(s) == "object" && "default" in s ? s : {
        default: s
      };
    }
    var o = r(n), i = {
      name: "zh-cn",
      weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
      weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
      weekdaysMin: "日_一_二_三_四_五_六".split("_"),
      months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
      monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
      ordinal: function(a, u) {
        return u === "W" ? a + "周" : a + "日";
      },
      weekStart: 1,
      yearStart: 4,
      formats: {
        LT: "HH:mm",
        LTS: "HH:mm:ss",
        L: "YYYY/MM/DD",
        LL: "YYYY年M月D日",
        LLL: "YYYY年M月D日Ah点mm分",
        LLLL: "YYYY年M月D日ddddAh点mm分",
        l: "YYYY/M/D",
        ll: "YYYY年M月D日",
        lll: "YYYY年M月D日 HH:mm",
        llll: "YYYY年M月D日dddd HH:mm"
      },
      relativeTime: {
        future: "%s内",
        past: "%s前",
        s: "几秒",
        m: "1 分钟",
        mm: "%d 分钟",
        h: "1 小时",
        hh: "%d 小时",
        d: "1 天",
        dd: "%d 天",
        M: "1 个月",
        MM: "%d 个月",
        y: "1 年",
        yy: "%d 年"
      },
      meridiem: function(a, u) {
        var l = 100 * a + u;
        return l < 600 ? "凌晨" : l < 900 ? "早上" : l < 1100 ? "上午" : l < 1300 ? "中午" : l < 1800 ? "下午" : "晚上";
      }
    };
    return o.default.locale(i, null, !0), i;
  });
})(d_);
var p_ = {
  pagination: {
    itemsPerPage: "{size} 条/页",
    jumpTo: "跳至",
    page: "页",
    total: "共 {total} 条数据"
  },
  cascader: {
    empty: "暂无数据",
    loadingText: "加载中",
    placeholder: "请选择"
  },
  calendar: {
    yearSelection: "{year} 年",
    monthSelection: "{month} 月",
    yearRadio: "年",
    monthRadio: "月",
    hideWeekend: "隐藏周末",
    showWeekend: "显示周末",
    today: "今天",
    thisMonth: "本月",
    week: "一,二,三,四,五,六,日",
    cellMonth: "1 月,2 月,3 月,4 月,5 月,6 月,7 月,8 月,9 月,10 月,11 月,12 月"
  },
  transfer: {
    title: "{checked} / {total} 项",
    empty: "暂无数据",
    placeholder: "请输入关键词搜索"
  },
  timePicker: {
    dayjsLocale: "zh-cn",
    now: "此刻",
    confirm: "确定",
    anteMeridiem: "上午",
    postMeridiem: "下午",
    placeholder: "选择时间"
  },
  dialog: {
    confirm: "确认",
    cancel: "取消"
  },
  drawer: {
    confirm: "确认",
    cancel: "取消"
  },
  popconfirm: {
    confirm: {
      content: "确定"
    },
    cancel: {
      content: "取消"
    }
  },
  table: {
    empty: "暂无数据",
    loadingText: "正在加载中，请稍后",
    loadingMoreText: "点击加载更多",
    filterInputPlaceholder: "请输入内容（无默认值）",
    sortAscendingOperationText: "点击升序",
    sortCancelOperationText: "点击取消排序",
    sortDescendingOperationText: "点击降序",
    clearFilterResultButtonText: "清空筛选",
    columnConfigButtonText: "列配置",
    columnConfigTitleText: "表格列配置",
    columnConfigDescriptionText: "请选择需要在表格中显示的数据列",
    confirmText: "确认",
    cancelText: "取消",
    resetText: "重置",
    selectAllText: "全选",
    searchResultText: "搜索“{result}”，找到 {count} 条结果"
  },
  select: {
    empty: "暂无数据",
    loadingText: "加载中",
    placeholder: "请选择"
  },
  tree: {
    empty: "暂无数据"
  },
  treeSelect: {
    empty: "暂无数据",
    loadingText: "加载中",
    placeholder: "请选择"
  },
  datePicker: {
    dayjsLocale: "zh-cn",
    placeholder: {
      date: "请选择日期",
      month: "请选择月份",
      year: "请选择年份"
    },
    weekdays: ["一", "二", "三", "四", "五", "六", "日"],
    months: ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"],
    quarters: ["一季度", "二季度", "三季度", "四季度"],
    rangeSeparator: " - ",
    direction: "ltr",
    format: "YYYY-MM-DD",
    dayAriaLabel: "日",
    weekAbbreviation: "周",
    yearAriaLabel: "年",
    monthAriaLabel: "月",
    confirm: "确定",
    selectTime: "选择时间",
    selectDate: "选择日期",
    nextYear: "下一年",
    preYear: "上一年",
    nextMonth: "下个月",
    preMonth: "上个月",
    preDecade: "上个十年",
    nextDecade: "下个十年",
    now: "当前"
  },
  upload: {
    sizeLimitMessage: "文件大小不能超过 {sizeLimit}",
    cancelUploadText: "取消上传",
    triggerUploadText: {
      fileInput: "选择文件",
      image: "点击上传图片",
      normal: "点击上传",
      reupload: "重新选择",
      continueUpload: "继续选择",
      delete: "删除",
      uploading: "上传中"
    },
    dragger: {
      dragDropText: "释放鼠标",
      draggingText: "拖拽到此区域",
      clickAndDragText: "点击上方“选择文件”或将文件拖拽到此区域"
    },
    file: {
      fileNameText: "文件名",
      fileSizeText: "文件大小",
      fileStatusText: "状态",
      fileOperationText: "操作",
      fileOperationDateText: "上传日期"
    },
    progress: {
      uploadingText: "上传中",
      waitingText: "待上传",
      failText: "上传失败",
      successText: "上传成功"
    }
  },
  form: {
    errorMessage: {
      date: "请输入正确的${name}",
      url: "请输入正确的${name}",
      required: "${name}必填",
      max: "${name}字符长度不能超过 ${validate} 个字符，一个中文等于两个字符",
      min: "${name}字符长度不能少于 ${validate} 个字符，一个中文等于两个字符",
      len: "${name}字符长度必须是 ${validate}",
      enum: "${name}只能是${validate}等",
      idcard: "请输入正确的${name}",
      telnumber: "请输入正确的${name}",
      pattern: "请输入正确的${name}",
      validator: "${name}不符合要求",
      boolean: "${name}数据类型必须是布尔类型",
      number: "${name}必须是数字"
    }
  },
  input: {
    placeholder: "请输入"
  },
  list: {
    loadingText: "正在加载中，请稍等",
    loadingMoreText: "点击加载更多"
  },
  alert: {
    expandText: "展开更多",
    collapseText: "收起"
  },
  anchor: {
    copySuccessText: "链接复制成功",
    copyText: "复制链接"
  },
  colorPicker: {
    swatchColorTitle: "系统预设颜色",
    recentColorTitle: "最近使用颜色",
    clearConfirmText: "确定清空最近使用的颜色吗？"
  },
  guide: {
    finishButtonProps: {
      content: "完成",
      theme: "primary"
    },
    nextButtonProps: {
      content: "下一步",
      theme: "primary"
    },
    skipButtonProps: {
      content: "跳过",
      theme: "default"
    },
    prevButtonProps: {
      content: "上一步",
      theme: "default"
    }
  },
  image: {
    errorText: "图片无法显示",
    loadingText: "图片加载中"
  },
  imageViewer: {
    errorText: "图片加载失败，可尝试重新加载",
    mirrorTipText: "镜像",
    rotateTipText: "旋转",
    originalSizeTipText: "原始大小"
  }
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function v_(e) {
  return function(t, n, r) {
    for (var o = -1, i = Object(t), s = r(t), a = s.length; a--; ) {
      var u = s[e ? a : ++o];
      if (n(i[u], u, i) === !1)
        break;
    }
    return t;
  };
}
var h_ = v_, g_ = h_, m_ = g_(), ac = m_, y_ = po, b_ = sr;
function __(e, t, n) {
  (n !== void 0 && !b_(e[t], n) || n === void 0 && !(t in e)) && y_(e, t, n);
}
var uc = __;
function E_(e, t) {
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
    return e[t];
}
var lc = E_, $_ = xn, O_ = lr;
function C_(e) {
  return $_(e, O_(e));
}
var w_ = C_, ba = uc, N_ = er.exports, x_ = ec, D_ = Ql, T_ = tc, _a = ar, Ea = ke, A_ = zb, S_ = St.exports, P_ = vt, F_ = Pe, I_ = ic, M_ = yo, $a = lc, B_ = w_;
function j_(e, t, n, r, o, i, s) {
  var a = $a(e, n), u = $a(t, n), l = s.get(u);
  if (l) {
    ba(e, n, l);
    return;
  }
  var c = i ? i(a, u, n + "", e, t, s) : void 0, f = c === void 0;
  if (f) {
    var p = Ea(u), h = !p && S_(u), C = !p && !h && M_(u);
    c = u, p || h || C ? Ea(a) ? c = a : A_(a) ? c = D_(a) : h ? (f = !1, c = N_(u, !0)) : C ? (f = !1, c = x_(u, !0)) : c = [] : I_(u) || _a(u) ? (c = a, _a(a) ? c = B_(a) : (!F_(a) || P_(a)) && (c = T_(u))) : f = !1;
  }
  f && (s.set(u, c), o(c, u, r, i, s), s.delete(u)), ba(e, n, c);
}
var L_ = j_, V_ = _o, R_ = uc, k_ = ac, H_ = L_, U_ = Pe, z_ = lr, K_ = lc;
function cc(e, t, n, r, o) {
  e !== t && k_(t, function(i, s) {
    if (o || (o = new V_()), U_(i))
      H_(e, t, s, n, cc, r, o);
    else {
      var a = r ? r(K_(e, s), i, s + "", e, t, o) : void 0;
      a === void 0 && (a = i), R_(e, s, a);
    }
  }, z_);
}
var fc = cc, W_ = qb, Y_ = c_;
function G_(e) {
  return W_(function(t, n) {
    var r = -1, o = n.length, i = o > 1 ? n[o - 1] : void 0, s = o > 2 ? n[2] : void 0;
    for (i = e.length > 3 && typeof i == "function" ? (o--, i) : void 0, s && Y_(n[0], n[1], s) && (i = o < 3 ? void 0 : i, o = 1), t = Object(t); ++r < o; ) {
      var a = n[r];
      a && e(t, a, r, i);
    }
    return t;
  });
}
var dc = G_, q_ = fc, Z_ = dc;
Z_(function(e, t, n, r) {
  q_(e, t, n, r);
});
var J_ = fc, X_ = dc, Q_ = X_(function(e, t, n) {
  J_(e, t, n);
}), e0 = Q_, Eo = /* @__PURE__ */ function(e) {
  return e.ripple = "ripple", e.expand = "expand", e.fade = "fade", e;
}(Eo || {}), t0 = e0(f_, p_), n0 = Symbol("configProvide");
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var r0 = rn, o0 = st, i0 = r0(o0, "Set"), s0 = i0;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var a0 = Zl, u0 = a0(Object.keys, Object), l0 = u0, c0 = bo, f0 = l0, d0 = Object.prototype, p0 = d0.hasOwnProperty;
function v0(e) {
  if (!c0(e))
    return f0(e);
  var t = [];
  for (var n in Object(e))
    p0.call(e, n) && n != "constructor" && t.push(n);
  return t;
}
var pc = v0, h0 = rn, g0 = st, m0 = h0(g0, "DataView"), y0 = m0, b0 = rn, _0 = st, E0 = b0(_0, "Promise"), $0 = E0, O0 = rn, C0 = st, w0 = O0(C0, "WeakMap"), N0 = w0, gi = y0, mi = Gi, yi = $0, bi = s0, _i = N0, vc = It, Dn = Wl, Oa = "[object Map]", x0 = "[object Object]", Ca = "[object Promise]", wa = "[object Set]", Na = "[object WeakMap]", xa = "[object DataView]", D0 = Dn(gi), T0 = Dn(mi), A0 = Dn(yi), S0 = Dn(bi), P0 = Dn(_i), kt = vc;
(gi && kt(new gi(new ArrayBuffer(1))) != xa || mi && kt(new mi()) != Oa || yi && kt(yi.resolve()) != Ca || bi && kt(new bi()) != wa || _i && kt(new _i()) != Na) && (kt = function(t) {
  var n = vc(t), r = n == x0 ? t.constructor : void 0, o = r ? Dn(r) : "";
  if (o)
    switch (o) {
      case D0:
        return xa;
      case T0:
        return Oa;
      case A0:
        return Ca;
      case S0:
        return wa;
      case P0:
        return Na;
    }
  return n;
});
var cr = kt;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function F0(e, t) {
  for (var n = -1, r = t.length, o = e.length; ++n < r; )
    e[o + n] = t[n];
  return e;
}
var ns = F0;
function I0(e, t) {
  for (var n = -1, r = e == null ? 0 : e.length, o = 0, i = []; ++n < r; ) {
    var s = e[n];
    t(s, n, e) && (i[o++] = s);
  }
  return i;
}
var M0 = I0;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var B0 = Jl, j0 = pc, L0 = ur;
function V0(e) {
  return L0(e) ? B0(e) : j0(e);
}
var fr = V0, R0 = ns, k0 = ke;
function H0(e, t, n) {
  var r = t(e);
  return k0(e) ? r : R0(r, n(e));
}
var hc = H0;
function U0() {
  return [];
}
var gc = U0, z0 = M0, K0 = gc, W0 = Object.prototype, Y0 = W0.propertyIsEnumerable, Da = Object.getOwnPropertySymbols, G0 = Da ? function(e) {
  return e == null ? [] : (e = Object(e), z0(Da(e), function(t) {
    return Y0.call(e, t);
  }));
} : K0, rs = G0, q0 = hc, Z0 = rs, J0 = fr;
function X0(e) {
  return q0(e, J0, Z0);
}
var mc = X0;
function Q0(e, t) {
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
    ;
  return e;
}
var e1 = Q0, t1 = xn, n1 = fr;
function r1(e, t) {
  return e && t1(t, n1(t), e);
}
var o1 = r1, i1 = xn, s1 = lr;
function a1(e, t) {
  return e && i1(t, s1(t), e);
}
var u1 = a1, l1 = xn, c1 = rs;
function f1(e, t) {
  return l1(e, c1(e), t);
}
var d1 = f1, p1 = ns, v1 = Qi, h1 = rs, g1 = gc, m1 = Object.getOwnPropertySymbols, y1 = m1 ? function(e) {
  for (var t = []; e; )
    p1(t, h1(e)), e = v1(e);
  return t;
} : g1, yc = y1, b1 = xn, _1 = yc;
function E1(e, t) {
  return b1(e, _1(e), t);
}
var $1 = E1, O1 = hc, C1 = yc, w1 = lr;
function N1(e) {
  return O1(e, w1, C1);
}
var bc = N1, x1 = Object.prototype, D1 = x1.hasOwnProperty;
function T1(e) {
  var t = e.length, n = new e.constructor(t);
  return t && typeof e[0] == "string" && D1.call(e, "index") && (n.index = e.index, n.input = e.input), n;
}
var A1 = T1, S1 = es;
function P1(e, t) {
  var n = t ? S1(e.buffer) : e.buffer;
  return new e.constructor(n, e.byteOffset, e.byteLength);
}
var F1 = P1, I1 = /\w*$/;
function M1(e) {
  var t = new e.constructor(e.source, I1.exec(e));
  return t.lastIndex = e.lastIndex, t;
}
var B1 = M1, Ta = $n, Aa = Ta ? Ta.prototype : void 0, Sa = Aa ? Aa.valueOf : void 0;
function j1(e) {
  return Sa ? Object(Sa.call(e)) : {};
}
var L1 = j1, V1 = es, R1 = F1, k1 = B1, H1 = L1, U1 = ec, z1 = "[object Boolean]", K1 = "[object Date]", W1 = "[object Map]", Y1 = "[object Number]", G1 = "[object RegExp]", q1 = "[object Set]", Z1 = "[object String]", J1 = "[object Symbol]", X1 = "[object ArrayBuffer]", Q1 = "[object DataView]", eE = "[object Float32Array]", tE = "[object Float64Array]", nE = "[object Int8Array]", rE = "[object Int16Array]", oE = "[object Int32Array]", iE = "[object Uint8Array]", sE = "[object Uint8ClampedArray]", aE = "[object Uint16Array]", uE = "[object Uint32Array]";
function lE(e, t, n) {
  var r = e.constructor;
  switch (t) {
    case X1:
      return V1(e);
    case z1:
    case K1:
      return new r(+e);
    case Q1:
      return R1(e, n);
    case eE:
    case tE:
    case nE:
    case rE:
    case oE:
    case iE:
    case sE:
    case aE:
    case uE:
      return U1(e, n);
    case W1:
      return new r();
    case Y1:
    case Z1:
      return new r(e);
    case G1:
      return k1(e);
    case q1:
      return new r();
    case J1:
      return H1(e);
  }
}
var cE = lE, fE = cr, dE = Ze, pE = "[object Map]";
function vE(e) {
  return dE(e) && fE(e) == pE;
}
var hE = vE, gE = hE, mE = Ji, Pa = _n.exports, Fa = Pa && Pa.isMap, yE = Fa ? mE(Fa) : gE, bE = yE, _E = cr, EE = Ze, $E = "[object Set]";
function OE(e) {
  return EE(e) && _E(e) == $E;
}
var CE = OE, wE = CE, NE = Ji, Ia = _n.exports, Ma = Ia && Ia.isSet, xE = Ma ? NE(Ma) : wE, DE = xE, TE = _o, AE = e1, SE = Gl, PE = o1, FE = u1, IE = er.exports, ME = Ql, BE = d1, jE = $1, LE = mc, VE = bc, RE = cr, kE = A1, HE = cE, UE = tc, zE = ke, KE = St.exports, WE = bE, YE = Pe, GE = DE, qE = fr, ZE = lr, JE = 1, XE = 2, QE = 4, _c = "[object Arguments]", e$ = "[object Array]", t$ = "[object Boolean]", n$ = "[object Date]", r$ = "[object Error]", Ec = "[object Function]", o$ = "[object GeneratorFunction]", i$ = "[object Map]", s$ = "[object Number]", $c = "[object Object]", a$ = "[object RegExp]", u$ = "[object Set]", l$ = "[object String]", c$ = "[object Symbol]", f$ = "[object WeakMap]", d$ = "[object ArrayBuffer]", p$ = "[object DataView]", v$ = "[object Float32Array]", h$ = "[object Float64Array]", g$ = "[object Int8Array]", m$ = "[object Int16Array]", y$ = "[object Int32Array]", b$ = "[object Uint8Array]", _$ = "[object Uint8ClampedArray]", E$ = "[object Uint16Array]", $$ = "[object Uint32Array]", de = {};
de[_c] = de[e$] = de[d$] = de[p$] = de[t$] = de[n$] = de[v$] = de[h$] = de[g$] = de[m$] = de[y$] = de[i$] = de[s$] = de[$c] = de[a$] = de[u$] = de[l$] = de[c$] = de[b$] = de[_$] = de[E$] = de[$$] = !0;
de[r$] = de[Ec] = de[f$] = !1;
function Ir(e, t, n, r, o, i) {
  var s, a = t & JE, u = t & XE, l = t & QE;
  if (n && (s = o ? n(e, r, o, i) : n(e)), s !== void 0)
    return s;
  if (!YE(e))
    return e;
  var c = zE(e);
  if (c) {
    if (s = kE(e), !a)
      return ME(e, s);
  } else {
    var f = RE(e), p = f == Ec || f == o$;
    if (KE(e))
      return IE(e, a);
    if (f == $c || f == _c || p && !o) {
      if (s = u || p ? {} : UE(e), !a)
        return u ? jE(e, FE(s, e)) : BE(e, PE(s, e));
    } else {
      if (!de[f])
        return o ? e : {};
      s = HE(e, f, a);
    }
  }
  i || (i = new TE());
  var h = i.get(e);
  if (h)
    return h;
  i.set(e, s), GE(e) ? e.forEach(function(P) {
    s.add(Ir(P, t, n, P, e, i));
  }) : WE(e) && e.forEach(function(P, M) {
    s.set(M, Ir(P, t, n, M, e, i));
  });
  var C = l ? u ? VE : LE : u ? ZE : qE, _ = c ? void 0 : C(e);
  return AE(_ || e, function(P, M) {
    _ && (M = P, P = e[M]), SE(s, M, Ir(P, t, n, M, e, i));
  }), s;
}
var O$ = Ir;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var C$ = "__lodash_hash_undefined__";
function w$(e) {
  return this.__data__.set(e, C$), this;
}
var N$ = w$;
function x$(e) {
  return this.__data__.has(e);
}
var D$ = x$, T$ = qi, A$ = N$, S$ = D$;
function Wr(e) {
  var t = -1, n = e == null ? 0 : e.length;
  for (this.__data__ = new T$(); ++t < n; )
    this.add(e[t]);
}
Wr.prototype.add = Wr.prototype.push = A$;
Wr.prototype.has = S$;
var P$ = Wr;
function F$(e, t) {
  return e.has(t);
}
var I$ = F$;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function M$(e) {
  var t = -1, n = Array(e.size);
  return e.forEach(function(r) {
    n[++t] = r;
  }), n;
}
var B$ = M$;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function j$(e, t) {
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
    if (t(e[n], n, e))
      return !0;
  return !1;
}
var L$ = j$, V$ = P$, R$ = L$, k$ = I$, H$ = 1, U$ = 2;
function z$(e, t, n, r, o, i) {
  var s = n & H$, a = e.length, u = t.length;
  if (a != u && !(s && u > a))
    return !1;
  var l = i.get(e), c = i.get(t);
  if (l && c)
    return l == t && c == e;
  var f = -1, p = !0, h = n & U$ ? new V$() : void 0;
  for (i.set(e, t), i.set(t, e); ++f < a; ) {
    var C = e[f], _ = t[f];
    if (r)
      var P = s ? r(_, C, f, t, e, i) : r(C, _, f, e, t, i);
    if (P !== void 0) {
      if (P)
        continue;
      p = !1;
      break;
    }
    if (h) {
      if (!R$(t, function(M, q) {
        if (!k$(h, q) && (C === M || o(C, M, n, r, i)))
          return h.push(q);
      })) {
        p = !1;
        break;
      }
    } else if (!(C === _ || o(C, _, n, r, i))) {
      p = !1;
      break;
    }
  }
  return i.delete(e), i.delete(t), p;
}
var Oc = z$;
function K$(e) {
  var t = -1, n = Array(e.size);
  return e.forEach(function(r, o) {
    n[++t] = [o, r];
  }), n;
}
var W$ = K$, Ba = $n, ja = Xl, Y$ = sr, G$ = Oc, q$ = W$, Z$ = B$, J$ = 1, X$ = 2, Q$ = "[object Boolean]", eO = "[object Date]", tO = "[object Error]", nO = "[object Map]", rO = "[object Number]", oO = "[object RegExp]", iO = "[object Set]", sO = "[object String]", aO = "[object Symbol]", uO = "[object ArrayBuffer]", lO = "[object DataView]", La = Ba ? Ba.prototype : void 0, ko = La ? La.valueOf : void 0;
function cO(e, t, n, r, o, i, s) {
  switch (n) {
    case lO:
      if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
        return !1;
      e = e.buffer, t = t.buffer;
    case uO:
      return !(e.byteLength != t.byteLength || !i(new ja(e), new ja(t)));
    case Q$:
    case eO:
    case rO:
      return Y$(+e, +t);
    case tO:
      return e.name == t.name && e.message == t.message;
    case oO:
    case sO:
      return e == t + "";
    case nO:
      var a = q$;
    case iO:
      var u = r & J$;
      if (a || (a = Z$), e.size != t.size && !u)
        return !1;
      var l = s.get(e);
      if (l)
        return l == t;
      r |= X$, s.set(e, t);
      var c = G$(a(e), a(t), r, o, i, s);
      return s.delete(e), c;
    case aO:
      if (ko)
        return ko.call(e) == ko.call(t);
  }
  return !1;
}
var fO = cO, Va = mc, dO = 1, pO = Object.prototype, vO = pO.hasOwnProperty;
function hO(e, t, n, r, o, i) {
  var s = n & dO, a = Va(e), u = a.length, l = Va(t), c = l.length;
  if (u != c && !s)
    return !1;
  for (var f = u; f--; ) {
    var p = a[f];
    if (!(s ? p in t : vO.call(t, p)))
      return !1;
  }
  var h = i.get(e), C = i.get(t);
  if (h && C)
    return h == t && C == e;
  var _ = !0;
  i.set(e, t), i.set(t, e);
  for (var P = s; ++f < u; ) {
    p = a[f];
    var M = e[p], q = t[p];
    if (r)
      var j = s ? r(q, M, p, t, e, i) : r(M, q, p, e, t, i);
    if (!(j === void 0 ? M === q || o(M, q, n, r, i) : j)) {
      _ = !1;
      break;
    }
    P || (P = p == "constructor");
  }
  if (_ && !P) {
    var J = e.constructor, S = t.constructor;
    J != S && "constructor" in e && "constructor" in t && !(typeof J == "function" && J instanceof J && typeof S == "function" && S instanceof S) && (_ = !1);
  }
  return i.delete(e), i.delete(t), _;
}
var gO = hO, Ho = _o, mO = Oc, yO = fO, bO = gO, Ra = cr, ka = ke, Ha = St.exports, _O = yo, EO = 1, Ua = "[object Arguments]", za = "[object Array]", Cr = "[object Object]", $O = Object.prototype, Ka = $O.hasOwnProperty;
function OO(e, t, n, r, o, i) {
  var s = ka(e), a = ka(t), u = s ? za : Ra(e), l = a ? za : Ra(t);
  u = u == Ua ? Cr : u, l = l == Ua ? Cr : l;
  var c = u == Cr, f = l == Cr, p = u == l;
  if (p && Ha(e)) {
    if (!Ha(t))
      return !1;
    s = !0, c = !1;
  }
  if (p && !c)
    return i || (i = new Ho()), s || _O(e) ? mO(e, t, n, r, o, i) : yO(e, t, u, n, r, o, i);
  if (!(n & EO)) {
    var h = c && Ka.call(e, "__wrapped__"), C = f && Ka.call(t, "__wrapped__");
    if (h || C) {
      var _ = h ? e.value() : e, P = C ? t.value() : t;
      return i || (i = new Ho()), o(_, P, n, r, i);
    }
  }
  return p ? (i || (i = new Ho()), bO(e, t, n, r, o, i)) : !1;
}
var CO = OO, wO = CO, Wa = Ze;
function Cc(e, t, n, r, o) {
  return e === t ? !0 : e == null || t == null || !Wa(e) && !Wa(t) ? e !== e && t !== t : wO(e, t, n, r, Cc, o);
}
var os = Cc, NO = os;
function xO(e, t) {
  return NO(e, t);
}
var DO = xO;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var TO = It, AO = Ze, SO = "[object Symbol]";
function PO(e) {
  return we(e) == "symbol" || AO(e) && TO(e) == SO;
}
var is = PO;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function FO(e, t) {
  for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
    o[n] = t(e[n], n, e);
  return o;
}
var wc = FO, Ya = $n, IO = wc, MO = ke, BO = is, jO = 1 / 0, Ga = Ya ? Ya.prototype : void 0, qa = Ga ? Ga.toString : void 0;
function Nc(e) {
  if (typeof e == "string")
    return e;
  if (MO(e))
    return IO(e, Nc) + "";
  if (BO(e))
    return qa ? qa.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -jO ? "-0" : t;
}
var LO = Nc, VO = LO;
function RO(e) {
  return e == null ? "" : VO(e);
}
var dr = RO;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var kO = ke, HO = is, UO = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zO = /^\w*$/;
function KO(e, t) {
  if (kO(e))
    return !1;
  var n = we(e);
  return n == "number" || n == "symbol" || n == "boolean" || e == null || HO(e) ? !0 : zO.test(e) || !UO.test(e) || t != null && e in Object(t);
}
var ss = KO, xc = qi, WO = "Expected a function";
function as(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function")
    throw new TypeError(WO);
  var n = function r() {
    var o = arguments, i = t ? t.apply(this, o) : o[0], s = r.cache;
    if (s.has(i))
      return s.get(i);
    var a = e.apply(this, o);
    return r.cache = s.set(i, a) || s, a;
  };
  return n.cache = new (as.Cache || xc)(), n;
}
as.Cache = xc;
var YO = as, GO = YO, qO = 500;
function ZO(e) {
  var t = GO(e, function(r) {
    return n.size === qO && n.clear(), r;
  }), n = t.cache;
  return t;
}
var JO = ZO, XO = JO, QO = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, eC = /\\(\\)?/g, tC = XO(function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(QO, function(n, r, o, i) {
    t.push(o ? i.replace(eC, "$1") : r || n);
  }), t;
}), nC = tC, rC = ke, oC = ss, iC = nC, sC = dr;
function aC(e, t) {
  return rC(e) ? e : oC(e, t) ? [e] : iC(sC(e));
}
var $o = aC, uC = is, lC = 1 / 0;
function cC(e) {
  if (typeof e == "string" || uC(e))
    return e;
  var t = e + "";
  return t == "0" && 1 / e == -lC ? "-0" : t;
}
var pr = cC, fC = $o, dC = pr;
function pC(e, t) {
  t = fC(t, e);
  for (var n = 0, r = t.length; e != null && n < r; )
    e = e[dC(t[n++])];
  return n && n == r ? e : void 0;
}
var us = pC;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var vC = us;
function hC(e, t, n) {
  var r = e == null ? void 0 : vC(e, t);
  return r === void 0 ? n : r;
}
var gC = hC;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function mC(e, t) {
  return e != null && t in Object(e);
}
var yC = mC, bC = $o, _C = ar, EC = ke, $C = Xi, OC = Zi, CC = pr;
function wC(e, t, n) {
  t = bC(t, e);
  for (var r = -1, o = t.length, i = !1; ++r < o; ) {
    var s = CC(t[r]);
    if (!(i = e != null && n(e, s)))
      break;
    e = e[s];
  }
  return i || ++r != o ? i : (o = e == null ? 0 : e.length, !!o && OC(o) && $C(s, o) && (EC(e) || _C(e)));
}
var NC = wC, xC = yC, DC = NC;
function TC(e, t) {
  return e != null && DC(e, t, xC);
}
var AC = TC;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function SC(e) {
  return function(t) {
    return t == null ? void 0 : t[e];
  };
}
var PC = SC;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function FC(e) {
  if (Array.isArray(e))
    return e;
}
function IC(e, t) {
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (n != null) {
    var r, o, i, s, a = [], u = !0, l = !1;
    try {
      if (i = (n = n.call(e)).next, t === 0) {
        if (Object(n) !== n)
          return;
        u = !1;
      } else
        for (; !(u = (r = i.call(n)).done) && (a.push(r.value), a.length !== t); u = !0)
          ;
    } catch (c) {
      l = !0, o = c;
    } finally {
      try {
        if (!u && n.return != null && (s = n.return(), Object(s) !== s))
          return;
      } finally {
        if (l)
          throw o;
      }
    }
    return a;
  }
}
function MC() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function BC(e, t) {
  return FC(e) || IC(e, t) || kl(e, t) || MC();
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Za(e, t) {
  var n = Object.keys(t);
  n.forEach(function(r) {
    e.style[r] = t[r];
  });
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var jC = It, LC = ke, VC = Ze, RC = "[object String]";
function kC(e) {
  return typeof e == "string" || !LC(e) && VC(e) && jC(e) == RC;
}
var mn = kC;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function HC() {
  if (typeof navigator > "u" || !navigator)
    return Number.MAX_SAFE_INTEGER;
  var e = navigator, t = e.userAgent, n = t.indexOf("compatible") > -1 && t.indexOf("MSIE") > -1, r = t.indexOf("Trident") > -1 && t.indexOf("rv:11.0") > -1;
  if (n) {
    var o = new RegExp("MSIE (\\d+\\.\\d+);"), i = t.match(o);
    if (!i)
      return -1;
    var s = parseFloat(i[1]);
    return s < 7 ? 6 : s;
  }
  return r ? 11 : Number.MAX_SAFE_INTEGER;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Ja(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function wr(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Ja(Object(n), !0).forEach(function(r) {
      he(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ja(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
function UC(e) {
  var t, n, r, o = {};
  if (!(!e || typeof window > "u")) {
    var i = (t = window) === null || t === void 0 || (n = t.getComputedStyle) === null || n === void 0 ? void 0 : n.call(t, e), s = i.color, a = i.fontSize, u = (r = window) === null || r === void 0 || (r = r.navigator) === null || r === void 0 ? void 0 : r.userAgent, l = /Safari/.test(u) && !/Chrome/.test(u), c = /(?=.*iPhone)[?=.*MicroMessenger]/.test(u) && !/Chrome/.test(u);
    if ((l || c) && (o = {
      transformOrigin: "0px 0px",
      transform: "scale(".concat(parseInt(a, 10) / 12, ")")
    }), s && HC() > 11) {
      var f = s.match(/[\d.]+/g), p = f ? "rgba(".concat(f[0], ", ").concat(f[1], ", ").concat(f[2], ", 0)") : "";
      Za(e, wr(wr({}, o), {}, {
        background: "conic-gradient(from 90deg at 50% 50%,".concat(p, " 0deg, ").concat(s, " 360deg)")
      }));
    } else
      Za(e, wr(wr({}, o), {}, {
        background: ""
      }));
  }
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var zC = je();
function vr() {
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0, t = arguments.length > 1 ? arguments[1] : void 0, n = nn() ? hn(n0, null) : zC, r = K(function() {
    return (n == null ? void 0 : n.value) || t0;
  }), o = K(function() {
    return Object.assign({}, r.value[e], t);
  }), i = K(function() {
    return r.value.classPrefix;
  }), s = function(u) {
    for (var l = arguments.length, c = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
      c[f - 1] = arguments[f];
    var p = c[0];
    if (mn(u)) {
      if (!p)
        return u;
      var h = /\{\s*([\w-]+)\s*\}/g, C = u.replace(h, function(_, P) {
        return p ? String(p[P]) : "";
      });
      return C;
    }
    return vt(u) ? c.length ? u.apply(void 0, c) : u(Ft) : "";
  };
  return {
    t: s,
    global: o,
    globalConfig: o,
    classPrefix: i
  };
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Ne(e) {
  var t = vr("classPrefix"), n = t.classPrefix;
  return K(function() {
    return e ? "".concat(n.value, "-").concat(e) : n.value;
  });
}
function Dc() {
  var e = vr("classPrefix"), t = e.classPrefix;
  return {
    SIZE: K(function() {
      return {
        small: "".concat(t.value, "-size-s"),
        medium: "".concat(t.value, "-size-m"),
        large: "".concat(t.value, "-size-l"),
        default: "",
        xs: "".concat(t.value, "-size-xs"),
        xl: "".concat(t.value, "-size-xl"),
        block: "".concat(t.value, "-size-full-width")
      };
    }),
    STATUS: K(function() {
      return {
        loading: "".concat(t.value, "-is-loading"),
        loadMore: "".concat(t.value, "-is-load-more"),
        disabled: "".concat(t.value, "-is-disabled"),
        focused: "".concat(t.value, "-is-focused"),
        success: "".concat(t.value, "-is-success"),
        error: "".concat(t.value, "-is-error"),
        warning: "".concat(t.value, "-is-warning"),
        selected: "".concat(t.value, "-is-selected"),
        active: "".concat(t.value, "-is-active"),
        checked: "".concat(t.value, "-is-checked"),
        current: "".concat(t.value, "-is-current"),
        hidden: "".concat(t.value, "-is-hidden"),
        visible: "".concat(t.value, "-is-visible"),
        expanded: "".concat(t.value, "-is-expanded"),
        indeterminate: "".concat(t.value, "-is-indeterminate")
      };
    })
  };
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var KC = qe({
  name: "TLoadingGradient",
  setup: function() {
    var t = Ne();
    return gt(function() {
      var n = nn().refs.circle;
      oo(function() {
        UC(n);
      });
    }), {
      classPrefix: t
    };
  },
  render: function() {
    var t = this.classPrefix, n = "".concat(t, "-loading__gradient"), r = [n, "".concat(t, "-icon-loading")];
    return z("svg", {
      class: r,
      viewBox: "0 0 12 12",
      version: "1.1",
      width: "1em",
      height: "1em",
      xmlns: "http://www.w3.org/2000/svg"
    }, [z("foreignObject", {
      x: "0",
      y: "0",
      width: "12",
      height: "12"
    }, [z("div", {
      class: "".concat(n, "-conic"),
      ref: "circle"
    }, null)])]);
  }
});
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var ls = { exports: {} }, Rn = { exports: {} };
(function() {
  var e, t, n, r, o, i;
  typeof performance < "u" && performance !== null && performance.now ? Rn.exports = function() {
    return performance.now();
  } : typeof process < "u" && process !== null && process.hrtime ? (Rn.exports = function() {
    return (e() - o) / 1e6;
  }, t = process.hrtime, e = function() {
    var a;
    return a = t(), a[0] * 1e9 + a[1];
  }, r = e(), i = process.uptime() * 1e9, o = r - i) : Date.now ? (Rn.exports = function() {
    return Date.now() - n;
  }, n = Date.now()) : (Rn.exports = function() {
    return (/* @__PURE__ */ new Date()).getTime() - n;
  }, n = (/* @__PURE__ */ new Date()).getTime());
}).call(wt);
var WC = Rn.exports, pt = typeof window > "u" ? wt : window, Nr = ["moz", "webkit"], yn = "AnimationFrame", En = pt["request" + yn], tr = pt["cancel" + yn] || pt["cancelRequest" + yn];
for (var Mn = 0; !En && Mn < Nr.length; Mn++)
  En = pt[Nr[Mn] + "Request" + yn], tr = pt[Nr[Mn] + "Cancel" + yn] || pt[Nr[Mn] + "CancelRequest" + yn];
if (!En || !tr) {
  var Uo = 0, Xa = 0, Vt = [], YC = 1e3 / 60;
  En = function(t) {
    if (Vt.length === 0) {
      var n = WC(), r = Math.max(0, YC - (n - Uo));
      Uo = r + n, setTimeout(function() {
        var o = Vt.slice(0);
        Vt.length = 0;
        for (var i = function() {
          if (!o[s].cancelled)
            try {
              o[s].callback(Uo);
            } catch (u) {
              setTimeout(function() {
                throw u;
              }, 0);
            }
        }, s = 0; s < o.length; s++)
          i();
      }, Math.round(r));
    }
    return Vt.push({
      handle: ++Xa,
      callback: t,
      cancelled: !1
    }), Xa;
  }, tr = function(t) {
    for (var n = 0; n < Vt.length; n++)
      Vt[n].handle === t && (Vt[n].cancelled = !0);
  };
}
ls.exports = function(e) {
  return En.call(pt, e);
};
ls.exports.cancel = function() {
  tr.apply(pt, arguments);
};
ls.exports.polyfill = function(e) {
  e || (e = pt), e.requestAnimationFrame = En, e.cancelAnimationFrame = tr;
};
var GC = function(t) {
  return (t || "").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, "");
};
function Tc(e, t) {
  if (!e || !t)
    return !1;
  if (t.indexOf(" ") !== -1)
    throw new Error("className should not contain space.");
  return e.classList ? e.classList.contains(t) : " ".concat(e.className, " ").indexOf(" ".concat(t, " ")) > -1;
}
function Ac(e, t) {
  if (e) {
    for (var n = e.className, r = (t || "").split(" "), o = 0, i = r.length; o < i; o++) {
      var s = r[o];
      s && (e.classList ? e.classList.add(s) : Tc(e, s) || (n += " ".concat(s)));
    }
    e.classList || (e.className = n);
  }
}
function Yr(e, t) {
  if (!(!e || !t)) {
    for (var n = t.split(" "), r = " ".concat(e.className, " "), o = 0, i = n.length; o < i; o++) {
      var s = n[o];
      s && (e.classList ? e.classList.remove(s) : Tc(e, s) && (r = r.replace(" ".concat(s, " "), " ")));
    }
    e.classList || (e.className = GC(r));
  }
}
var cs = function(t, n) {
  var r = vt(t) ? t(n) : t;
  return r ? mn(r) ? document.querySelector(r) : r instanceof HTMLElement ? r : document.body : document.body;
}, qC = function() {
  if (process.env.NODE_ENV === "test-snap")
    return "body";
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var ZC = pc, JC = cr, XC = ar, QC = ke, ew = ur, tw = St.exports, nw = bo, rw = yo, ow = "[object Map]", iw = "[object Set]", sw = Object.prototype, aw = sw.hasOwnProperty;
function uw(e) {
  if (e == null)
    return !0;
  if (ew(e) && (QC(e) || typeof e == "string" || typeof e.splice == "function" || tw(e) || rw(e) || XC(e)))
    return !e.length;
  var t = JC(e);
  if (t == ow || t == iw)
    return !e.size;
  if (nw(e))
    return !ZC(e).length;
  for (var n in e)
    if (aw.call(e, n))
      return !1;
  return !0;
}
var Qa = uw;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function lw(e, t, n) {
  var r = -1, o = e.length;
  t < 0 && (t = -t > o ? 0 : o + t), n = n > o ? o : n, n < 0 && (n += o), o = t > n ? 0 : n - t >>> 0, t >>>= 0;
  for (var i = Array(o); ++r < o; )
    i[r] = e[r + t];
  return i;
}
var Sc = lw;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var cw = Sc;
function fw(e, t, n) {
  var r = e.length;
  return n = n === void 0 ? r : n, !t && n >= r ? e : cw(e, t, n);
}
var dw = fw, pw = "\\ud800-\\udfff", vw = "\\u0300-\\u036f", hw = "\\ufe20-\\ufe2f", gw = "\\u20d0-\\u20ff", mw = vw + hw + gw, yw = "\\ufe0e\\ufe0f", bw = "\\u200d", _w = RegExp("[" + bw + pw + mw + yw + "]");
function Ew(e) {
  return _w.test(e);
}
var Pc = Ew;
function $w(e) {
  return e.split("");
}
var Ow = $w, Fc = "\\ud800-\\udfff", Cw = "\\u0300-\\u036f", ww = "\\ufe20-\\ufe2f", Nw = "\\u20d0-\\u20ff", xw = Cw + ww + Nw, Dw = "\\ufe0e\\ufe0f", Tw = "[" + Fc + "]", Ei = "[" + xw + "]", $i = "\\ud83c[\\udffb-\\udfff]", Aw = "(?:" + Ei + "|" + $i + ")", Ic = "[^" + Fc + "]", Mc = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bc = "[\\ud800-\\udbff][\\udc00-\\udfff]", Sw = "\\u200d", jc = Aw + "?", Lc = "[" + Dw + "]?", Pw = "(?:" + Sw + "(?:" + [Ic, Mc, Bc].join("|") + ")" + Lc + jc + ")*", Fw = Lc + jc + Pw, Iw = "(?:" + [Ic + Ei + "?", Ei, Mc, Bc, Tw].join("|") + ")", Mw = RegExp($i + "(?=" + $i + ")|" + Iw + Fw, "g");
function Bw(e) {
  return e.match(Mw) || [];
}
var jw = Bw, Lw = Ow, Vw = Pc, Rw = jw;
function kw(e) {
  return Vw(e) ? Rw(e) : Lw(e);
}
var Hw = kw;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Uw(e, t, n, r) {
  var o = -1, i = e == null ? 0 : e.length;
  for (r && i && (n = e[++o]); ++o < i; )
    n = t(n, e[o], o, e);
  return n;
}
var zw = Uw;
function Kw(e) {
  return function(t) {
    return e == null ? void 0 : e[t];
  };
}
var Ww = Kw, Yw = Ww, Gw = {
  // Latin-1 Supplement block.
  À: "A",
  Á: "A",
  Â: "A",
  Ã: "A",
  Ä: "A",
  Å: "A",
  à: "a",
  á: "a",
  â: "a",
  ã: "a",
  ä: "a",
  å: "a",
  Ç: "C",
  ç: "c",
  Ð: "D",
  ð: "d",
  È: "E",
  É: "E",
  Ê: "E",
  Ë: "E",
  è: "e",
  é: "e",
  ê: "e",
  ë: "e",
  Ì: "I",
  Í: "I",
  Î: "I",
  Ï: "I",
  ì: "i",
  í: "i",
  î: "i",
  ï: "i",
  Ñ: "N",
  ñ: "n",
  Ò: "O",
  Ó: "O",
  Ô: "O",
  Õ: "O",
  Ö: "O",
  Ø: "O",
  ò: "o",
  ó: "o",
  ô: "o",
  õ: "o",
  ö: "o",
  ø: "o",
  Ù: "U",
  Ú: "U",
  Û: "U",
  Ü: "U",
  ù: "u",
  ú: "u",
  û: "u",
  ü: "u",
  Ý: "Y",
  ý: "y",
  ÿ: "y",
  Æ: "Ae",
  æ: "ae",
  Þ: "Th",
  þ: "th",
  ß: "ss",
  // Latin Extended-A block.
  Ā: "A",
  Ă: "A",
  Ą: "A",
  ā: "a",
  ă: "a",
  ą: "a",
  Ć: "C",
  Ĉ: "C",
  Ċ: "C",
  Č: "C",
  ć: "c",
  ĉ: "c",
  ċ: "c",
  č: "c",
  Ď: "D",
  Đ: "D",
  ď: "d",
  đ: "d",
  Ē: "E",
  Ĕ: "E",
  Ė: "E",
  Ę: "E",
  Ě: "E",
  ē: "e",
  ĕ: "e",
  ė: "e",
  ę: "e",
  ě: "e",
  Ĝ: "G",
  Ğ: "G",
  Ġ: "G",
  Ģ: "G",
  ĝ: "g",
  ğ: "g",
  ġ: "g",
  ģ: "g",
  Ĥ: "H",
  Ħ: "H",
  ĥ: "h",
  ħ: "h",
  Ĩ: "I",
  Ī: "I",
  Ĭ: "I",
  Į: "I",
  İ: "I",
  ĩ: "i",
  ī: "i",
  ĭ: "i",
  į: "i",
  ı: "i",
  Ĵ: "J",
  ĵ: "j",
  Ķ: "K",
  ķ: "k",
  ĸ: "k",
  Ĺ: "L",
  Ļ: "L",
  Ľ: "L",
  Ŀ: "L",
  Ł: "L",
  ĺ: "l",
  ļ: "l",
  ľ: "l",
  ŀ: "l",
  ł: "l",
  Ń: "N",
  Ņ: "N",
  Ň: "N",
  Ŋ: "N",
  ń: "n",
  ņ: "n",
  ň: "n",
  ŋ: "n",
  Ō: "O",
  Ŏ: "O",
  Ő: "O",
  ō: "o",
  ŏ: "o",
  ő: "o",
  Ŕ: "R",
  Ŗ: "R",
  Ř: "R",
  ŕ: "r",
  ŗ: "r",
  ř: "r",
  Ś: "S",
  Ŝ: "S",
  Ş: "S",
  Š: "S",
  ś: "s",
  ŝ: "s",
  ş: "s",
  š: "s",
  Ţ: "T",
  Ť: "T",
  Ŧ: "T",
  ţ: "t",
  ť: "t",
  ŧ: "t",
  Ũ: "U",
  Ū: "U",
  Ŭ: "U",
  Ů: "U",
  Ű: "U",
  Ų: "U",
  ũ: "u",
  ū: "u",
  ŭ: "u",
  ů: "u",
  ű: "u",
  ų: "u",
  Ŵ: "W",
  ŵ: "w",
  Ŷ: "Y",
  ŷ: "y",
  Ÿ: "Y",
  Ź: "Z",
  Ż: "Z",
  Ž: "Z",
  ź: "z",
  ż: "z",
  ž: "z",
  Ĳ: "IJ",
  ĳ: "ij",
  Œ: "Oe",
  œ: "oe",
  ŉ: "'n",
  ſ: "s"
}, qw = Yw(Gw), Zw = qw, Jw = Zw, Xw = dr, Qw = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, eN = "\\u0300-\\u036f", tN = "\\ufe20-\\ufe2f", nN = "\\u20d0-\\u20ff", rN = eN + tN + nN, oN = "[" + rN + "]", iN = RegExp(oN, "g");
function sN(e) {
  return e = Xw(e), e && e.replace(Qw, Jw).replace(iN, "");
}
var aN = sN, uN = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
function lN(e) {
  return e.match(uN) || [];
}
var cN = lN, fN = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
function dN(e) {
  return fN.test(e);
}
var pN = dN, Vc = "\\ud800-\\udfff", vN = "\\u0300-\\u036f", hN = "\\ufe20-\\ufe2f", gN = "\\u20d0-\\u20ff", mN = vN + hN + gN, Rc = "\\u2700-\\u27bf", kc = "a-z\\xdf-\\xf6\\xf8-\\xff", yN = "\\xac\\xb1\\xd7\\xf7", bN = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", _N = "\\u2000-\\u206f", EN = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Hc = "A-Z\\xc0-\\xd6\\xd8-\\xde", $N = "\\ufe0e\\ufe0f", Uc = yN + bN + _N + EN, zc = "['’]", eu = "[" + Uc + "]", ON = "[" + mN + "]", Kc = "\\d+", CN = "[" + Rc + "]", Wc = "[" + kc + "]", Yc = "[^" + Vc + Uc + Kc + Rc + kc + Hc + "]", wN = "\\ud83c[\\udffb-\\udfff]", NN = "(?:" + ON + "|" + wN + ")", xN = "[^" + Vc + "]", Gc = "(?:\\ud83c[\\udde6-\\uddff]){2}", qc = "[\\ud800-\\udbff][\\udc00-\\udfff]", fn = "[" + Hc + "]", DN = "\\u200d", tu = "(?:" + Wc + "|" + Yc + ")", TN = "(?:" + fn + "|" + Yc + ")", nu = "(?:" + zc + "(?:d|ll|m|re|s|t|ve))?", ru = "(?:" + zc + "(?:D|LL|M|RE|S|T|VE))?", Zc = NN + "?", Jc = "[" + $N + "]?", AN = "(?:" + DN + "(?:" + [xN, Gc, qc].join("|") + ")" + Jc + Zc + ")*", SN = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", PN = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", FN = Jc + Zc + AN, IN = "(?:" + [CN, Gc, qc].join("|") + ")" + FN, MN = RegExp([fn + "?" + Wc + "+" + nu + "(?=" + [eu, fn, "$"].join("|") + ")", TN + "+" + ru + "(?=" + [eu, fn + tu, "$"].join("|") + ")", fn + "?" + tu + "+" + nu, fn + "+" + ru, PN, SN, Kc, IN].join("|"), "g");
function BN(e) {
  return e.match(MN) || [];
}
var jN = BN, LN = cN, VN = pN, RN = dr, kN = jN;
function HN(e, t, n) {
  return e = RN(e), t = n ? void 0 : t, t === void 0 ? VN(e) ? kN(e) : LN(e) : e.match(t) || [];
}
var UN = HN, zN = zw, KN = aN, WN = UN, YN = "['’]", GN = RegExp(YN, "g");
function qN(e) {
  return function(t) {
    return zN(WN(KN(t).replace(GN, "")), e, "");
  };
}
var Xc = qN;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var ZN = dw, JN = Pc, XN = Hw, QN = dr;
function ex(e) {
  return function(t) {
    t = QN(t);
    var n = JN(t) ? XN(t) : void 0, r = n ? n[0] : t.charAt(0), o = n ? ZN(n, 1).join("") : t.slice(1);
    return r[e]() + o;
  };
}
var tx = ex, nx = tx, rx = nx("toUpperCase"), ox = rx, ix = dr, sx = ox;
function ax(e) {
  return sx(ix(e).toLowerCase());
}
var ux = ax, lx = ux, cx = Xc, fx = cx(function(e, t, n) {
  return t = t.toLowerCase(), e + (n ? lx(t) : t);
}), Oo = fx;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var dx = Xc, px = dx(function(e, t, n) {
  return e + (n ? "-" : "") + t.toLowerCase();
}), Co = px;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function wo(e) {
  var t;
  return Pe(e) && "defaultNode" in e ? t = e.defaultNode : (Qt(e) || mn(e)) && (t = e), t;
}
function No(e) {
  return Pe(e) && "params" in e ? e.params : {};
}
function vx(e) {
  return Pe(e) && "slotFirst" in e ? e.slotFirst : {};
}
function ou(e, t, n) {
  var r, o, i, s, a = (r = (o = e.$slots)[Oo(n)]) === null || r === void 0 ? void 0 : r.call(o, t);
  return a || (a = (i = (s = e.$slots)[Co(n)]) === null || i === void 0 ? void 0 : i.call(s, t), a) ? a : null;
}
var Gr = function(t, n, r) {
  var o = No(r), i = wo(r), s;
  if (n in t && (s = t[n]), !(s === !1 || s === null)) {
    if (s === !0 && i)
      return ou(t, o, n) || i;
    if (vt(s))
      return s(Ft, o);
    var a = [void 0, o, ""].includes(s);
    return a && (t.$slots[Oo(n)] || t.$slots[Co(n)]) ? ou(t, o, n) : s;
  }
}, hx = function(t, n, r, o) {
  var i = No(o), s = wo(o), a = i ? {
    params: i
  } : void 0, u = Gr(t, n, a), l = Gr(t, r, a), c = Qa(u) ? l : u;
  return Qa(c) ? s : c;
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var gx = {
  attach: {
    type: [String, Function],
    default: ""
  },
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  delay: {
    type: Number,
    default: 0
  },
  fullscreen: Boolean,
  indicator: {
    type: [Boolean, Function],
    default: !0
  },
  inheritColor: Boolean,
  loading: {
    type: Boolean,
    default: !0
  },
  preventScrollThrough: {
    type: Boolean,
    default: !0
  },
  showOverlay: {
    type: Boolean,
    default: !0
  },
  size: {
    type: String,
    default: "medium"
  },
  text: {
    type: [String, Function]
  },
  zIndex: {
    type: Number
  }
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Qc = function(t, n) {
  var r = vt(t) ? K(t) : je(t), o = vt(n) ? K(n) : je(n), i = je(), s = function() {
    i.value = qC() || cs(r.value, o.value);
  };
  return gt(function() {
    return s();
  }), dt([r, o], function() {
    return s();
  }), i;
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var mx = function() {
  return {
    name: Ne("loading"),
    centerClass: Ne("loading--center"),
    fullscreenClass: Ne("loading__fullscreen"),
    lockClass: Ne("loading--lock"),
    overlayClass: Ne("loading__overlay"),
    relativeClass: Ne("loading__parent"),
    fullClass: Ne("loading--full"),
    inheritColorClass: Ne("loading--inherit-color")
  };
}, Oi = qe({
  name: "TLoading",
  inheritAttrs: !1,
  props: gx,
  setup: function(t, n) {
    var r = n.slots, o = je(!1), i = mx(), s = i.name, a = i.centerClass, u = i.fullscreenClass, l = i.lockClass, c = i.overlayClass, f = i.relativeClass, p = i.fullClass, h = i.inheritColorClass, C = Ne(), _ = Dc(), P = _.SIZE, M = function() {
      o.value = !1;
      var T = setTimeout(function() {
        o.value = !0, clearTimeout(T);
      }, t.delay);
    }, q = Qc(function() {
      return t.attach;
    }), j = K(function() {
      return !!(!t.delay || t.delay && o.value);
    }), J = K(function() {
      var N = {};
      return t.zIndex !== void 0 && (N.zIndex = t.zIndex), ["small", "medium", "large"].includes(t.size) || (N["font-size"] = t.size), N;
    }), S = K(function() {
      return !!(t.default || r.default || t.content || r.content);
    }), te = K(function() {
      return t.preventScrollThrough && t.fullscreen;
    }), ee = K(function() {
      return !!(t.text || r.text);
    }), R = K(function() {
      return S.value && t.loading && j.value;
    }), W = K(function() {
      return t.fullscreen && t.loading && j.value;
    }), H = K(function() {
      return t.attach && t.loading && j.value;
    }), I = K(function() {
      return t.attach && t.loading && j.value;
    }), F = K(function() {
      var N = [a.value, P.value[t.size], he({}, h.value, t.inheritColor)], T = [s.value, u.value, a.value, c.value];
      return {
        baseClasses: N,
        attachClasses: N.concat([s.value, p.value, he({}, c.value, t.showOverlay)]),
        withContentClasses: N.concat([s.value, p.value, he({}, c.value, t.showOverlay)]),
        fullScreenClasses: T,
        normalClasses: N.concat([s.value])
      };
    }), se = ad(t), X = se.loading;
    return dt([X], function(N) {
      var T = BC(N, 1), D = T[0];
      D ? (M(), te.value && Ac(document.body, l.value)) : te.value && Yr(document.body, l.value);
    }), gt(function() {
      t.delay && M();
    }), {
      classPrefix: C,
      relativeClass: f,
      delayShowLoading: o,
      styles: J,
      showText: ee,
      hasContent: S,
      classes: F,
      lockFullscreen: te,
      showWrapLoading: R,
      showNormalLoading: H,
      showFullScreenLoading: W,
      showAttachedLoading: I,
      teleportElement: q
    };
  },
  render: function() {
    var t = this, n = this.classes, r = n.fullScreenClasses, o = n.baseClasses, i = n.withContentClasses, s = n.attachClasses, a = n.normalClasses, u = z(KC, {
      size: this.size
    }, null), l = this.loading && Gr(this, "indicator", u), c = this.showText && z("div", {
      class: "".concat(this.classPrefix, "-loading__text")
    }, [Gr(this, "text")]);
    return this.fullscreen ? !this.showFullScreenLoading || !this.loading ? null : z(fi, {
      disabled: !this.attach || !this.teleportElement,
      to: this.teleportElement
    }, {
      default: function() {
        return [z("div", ct({
          class: r,
          style: t.styles
        }, t.$attrs), [z("div", {
          class: o
        }, [l, c])])];
      }
    }) : this.hasContent ? z("div", ct({
      class: this.relativeClass
    }, this.$attrs), [hx(this, "default", "content"), this.showWrapLoading && z("div", {
      class: i,
      style: this.styles
    }, [l, c])]) : this.attach ? !this.showAttachedLoading || !this.loading ? null : z(fi, {
      disabled: !this.attach || !this.teleportElement,
      to: this.teleportElement
    }, {
      default: function() {
        return [z("div", ct({
          class: s,
          style: t.styles
        }, t.$attrs), [l, c])];
      }
    }) : this.loading ? z("div", ct({
      class: a,
      style: this.styles
    }, this.$attrs), [l, c]) : null;
  }
});
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function iu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function yx(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? iu(Object(n), !0).forEach(function(r) {
      he(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var xr = null;
function su(e) {
  var t = qe({
    setup: function() {
      var l = to(e);
      return {
        loadingOptions: l
      };
    },
    render: function() {
      return Ft(Oi, yx({}, this.loadingOptions));
    }
  }), n = cs(e.attach), r = Rl(t), o = r.mount(document.createElement("div")), i = Ne("loading__parent--relative").value, s = Ne("loading");
  n ? Ac(n, i) : console.error("attach is not exist");
  var a = {
    hide: function() {
      var l;
      o.loading = !1, (l = n.querySelectorAll(".".concat(s.value))) === null || l === void 0 || l.forEach(function(c) {
        c.remove();
      }), Yr(n, i), r.unmount();
    }
  };
  return a;
}
function ef(e) {
  var t = Ne("loading--lock");
  if (e === !0)
    return xr = su({
      fullscreen: !0,
      loading: !0,
      attach: "body"
    }), xr;
  if (Yr(document.body, t.value), e === !1) {
    Yr(document.body, t.value), xr.hide(), xr = null;
    return;
  }
  return su(e);
}
var tf = ef;
tf.install = function(e) {
  e.config.globalProperties.$loading = ef;
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var bx = ac, _x = fr;
function Ex(e, t) {
  return e && bx(e, t, _x);
}
var $x = Ex, Ox = _o, Cx = os, wx = 1, Nx = 2;
function xx(e, t, n, r) {
  var o = n.length, i = o, s = !r;
  if (e == null)
    return !i;
  for (e = Object(e); o--; ) {
    var a = n[o];
    if (s && a[2] ? a[1] !== e[a[0]] : !(a[0] in e))
      return !1;
  }
  for (; ++o < i; ) {
    a = n[o];
    var u = a[0], l = e[u], c = a[1];
    if (s && a[2]) {
      if (l === void 0 && !(u in e))
        return !1;
    } else {
      var f = new Ox();
      if (r)
        var p = r(l, c, u, e, t, f);
      if (!(p === void 0 ? Cx(c, l, wx | Nx, r, f) : p))
        return !1;
    }
  }
  return !0;
}
var Dx = xx, Tx = Pe;
function Ax(e) {
  return e === e && !Tx(e);
}
var nf = Ax, Sx = nf, Px = fr;
function Fx(e) {
  for (var t = Px(e), n = t.length; n--; ) {
    var r = t[n], o = e[r];
    t[n] = [r, o, Sx(o)];
  }
  return t;
}
var Ix = Fx;
function Mx(e, t) {
  return function(n) {
    return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
  };
}
var rf = Mx, Bx = Dx, jx = Ix, Lx = rf;
function Vx(e) {
  var t = jx(e);
  return t.length == 1 && t[0][2] ? Lx(t[0][0], t[0][1]) : function(n) {
    return n === e || Bx(n, e, t);
  };
}
var Rx = Vx, kx = os, Hx = gC, Ux = AC, zx = ss, Kx = nf, Wx = rf, Yx = pr, Gx = 1, qx = 2;
function Zx(e, t) {
  return zx(e) && Kx(t) ? Wx(Yx(e), t) : function(n) {
    var r = Hx(n, e);
    return r === void 0 && r === t ? Ux(n, e) : kx(t, r, Gx | qx);
  };
}
var Jx = Zx, Xx = us;
function Qx(e) {
  return function(t) {
    return Xx(t, e);
  };
}
var eD = Qx, tD = PC, nD = eD, rD = ss, oD = pr;
function iD(e) {
  return rD(e) ? tD(oD(e)) : nD(e);
}
var sD = iD, aD = Rx, uD = Jx, lD = ts, cD = ke, fD = sD;
function dD(e) {
  return typeof e == "function" ? e : e == null ? lD : we(e) == "object" ? cD(e) ? uD(e[0], e[1]) : aD(e) : fD(e);
}
var pD = dD, vD = po, hD = $x, gD = pD;
function mD(e, t) {
  var n = {};
  return t = gD(t), hD(e, function(r, o, i) {
    vD(n, t(r, o, i), r);
  }), n;
}
var yD = mD, Ci = Symbol("TdLoading"), au = function(t, n) {
  var r = n.modifiers, o = r.fullscreen, i = r.inheritColor, s = {
    attach: function() {
      return t;
    },
    fullscreen: o ?? !1,
    inheritColor: i ?? !1,
    loading: n.value
  };
  Pe(n.value) && yD(n.value, function(a, u) {
    s[u] = a;
  }), t[Ci] = {
    options: s,
    instance: tf(s)
  };
}, bD = {
  mounted: function(t, n) {
    n.value && au(t, n);
  },
  updated: function(t, n) {
    var r = t[Ci], o = n.value, i = n.oldValue;
    if (!DO(o, i)) {
      var s, a = (s = o == null ? void 0 : o.loading) !== null && s !== void 0 ? s : o;
      a ? au(t, n) : r == null || r.instance.hide();
    }
  },
  unmounted: function(t) {
    var n;
    (n = t[Ci]) === null || n === void 0 || n.instance.hide();
  }
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function of(e, t, n) {
  var r = e;
  return r.install = function(o, i) {
    o.component(t || i || r.name, e), n && o.directive(n.name, n.comp);
  }, r;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var _D = of(Oi, Oi.name, {
  name: "loading",
  comp: bD
});
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var ED = {
  block: Boolean,
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  disabled: {
    type: Boolean,
    default: void 0
  },
  ghost: Boolean,
  href: {
    type: String,
    default: ""
  },
  icon: {
    type: Function
  },
  loading: Boolean,
  shape: {
    type: String,
    default: "rectangle",
    validator: function(t) {
      return t ? ["rectangle", "square", "round", "circle"].includes(t) : !0;
    }
  },
  size: {
    type: String,
    default: "medium",
    validator: function(t) {
      return t ? ["extra-small", "small", "medium", "large"].includes(t) : !0;
    }
  },
  suffix: {
    type: Function
  },
  tag: {
    type: String,
    validator: function(t) {
      return t ? ["button", "a", "div"].includes(t) : !0;
    }
  },
  theme: {
    type: String,
    validator: function(t) {
      return t ? ["default", "primary", "danger", "warning", "success"].includes(t) : !0;
    }
  },
  type: {
    type: String,
    default: "button",
    validator: function(t) {
      return t ? ["submit", "reset", "button"].includes(t) : !0;
    }
  },
  variant: {
    type: String,
    default: "base",
    validator: function(t) {
      return t ? ["base", "outline", "dashed", "text"].includes(t) : !0;
    }
  },
  onClick: Function
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var $D = Eo.expand, OD = Eo.ripple, CD = Eo.fade;
function wD() {
  var e = vr("animation"), t = e.globalConfig, n = function(o) {
    var i, s, a = t.value;
    return a && !((i = a.exclude) !== null && i !== void 0 && i.includes(o)) && ((s = a.include) === null || s === void 0 ? void 0 : s.includes(o));
  };
  return {
    keepExpand: n($D),
    keepRipple: n(OD),
    keepFade: n(CD)
  };
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function uu(e, t) {
  var n = Object.keys(t);
  n.forEach(function(r) {
    e.style[r] = t[r];
  });
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var zo = 200, ND = "rgba(0, 0, 0, 0)", xD = "rgba(0, 0, 0, 0.35)", DD = function(t, n) {
  var r;
  if (n)
    return n;
  if (t != null && (r = t.dataset) !== null && r !== void 0 && r.ripple) {
    var o = t.dataset.ripple;
    return o;
  }
  var i = getComputedStyle(t).getPropertyValue("--ripple-color");
  return i || xD;
};
function TD(e, t) {
  var n = je(null), r = Ne(), o = wD(), i = o.keepRipple, s = function(u) {
    var l = e.value, c = DD(l, t == null ? void 0 : t.value);
    if (!(u.button !== 0 || !e || !i) && !(l.classList.contains("".concat(r.value, "-is-active")) || l.classList.contains("".concat(r.value, "-is-disabled")) || l.classList.contains("".concat(r.value, "-is-checked")) || l.classList.contains("".concat(r.value, "-is-loading")))) {
      var f = getComputedStyle(l), p = parseInt(f.borderWidth, 10), h = p > 0 ? p : 0, C = l.offsetWidth, _ = l.offsetHeight;
      n.value.parentNode === null && (uu(n.value, {
        position: "absolute",
        left: "".concat(0 - h, "px"),
        top: "".concat(0 - h, "px"),
        width: "".concat(C, "px"),
        height: "".concat(_, "px"),
        borderRadius: f.borderRadius,
        pointerEvents: "none",
        overflow: "hidden"
      }), l.appendChild(n.value));
      var P = document.createElement("div");
      uu(P, {
        marginTop: "0",
        marginLeft: "0",
        right: "".concat(C, "px"),
        width: "".concat(C + 20, "px"),
        height: "100%",
        transition: "transform ".concat(zo, "ms cubic-bezier(.38, 0, .24, 1), background ").concat(zo * 2, "ms linear"),
        transform: "skewX(-8deg)",
        pointerEvents: "none",
        position: "absolute",
        zIndex: 0,
        backgroundColor: c,
        opacity: "0.9"
      });
      for (var M = /* @__PURE__ */ new WeakMap(), q = l.children.length, j = 0; j < q; ++j) {
        var J = l.children[j];
        J.style.zIndex === "" && J !== n.value && (J.style.zIndex = "1", M.set(J, !0));
      }
      var S = l.style.position ? l.style.position : getComputedStyle(l).position;
      (S === "" || S === "static") && (l.style.position = "relative"), n.value.insertBefore(P, n.value.firstChild), setTimeout(function() {
        P.style.transform = "translateX(".concat(C, "px)");
      }, 0);
      var te = function ee() {
        P.style.backgroundColor = ND, e.value && (e.value.removeEventListener("pointerup", ee, !1), e.value.removeEventListener("pointerleave", ee, !1), setTimeout(function() {
          P.remove(), n.value.children.length === 0 && n.value.remove();
        }, zo * 2 + 100));
      };
      e.value.addEventListener("pointerup", te, !1), e.value.addEventListener("pointerleave", te, !1);
    }
  };
  gt(function() {
    var a = e == null ? void 0 : e.value;
    a && (n.value = document.createElement("div"), a.addEventListener("pointerdown", s, !1));
  }), Ri(function() {
    var a;
    e == null || (a = e.value) === null || a === void 0 || a.removeEventListener("pointerdown", s, !1);
  });
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function lu(e, t, n) {
  var r, o, i, s, a = (r = (o = e.slots)[Oo(t)]) === null || r === void 0 ? void 0 : r.call(o, n);
  return a && a.filter(function(u) {
    return u.type.toString() !== "Symbol(v-cmt)";
  }).length || (a = (i = (s = e.slots)[Co(t)]) === null || i === void 0 ? void 0 : i.call(s, n), a && a.filter(function(u) {
    return u.type.toString() !== "Symbol(v-cmt)";
  }).length) ? a : null;
}
function cu(e) {
  if ([void 0, null, ""].includes(e))
    return !0;
  var t = e instanceof Array ? e : [e], n = t.filter(function(r) {
    var o;
    return (r == null || (o = r.type) === null || o === void 0 ? void 0 : o.toString()) !== "Symbol(Comment)";
  });
  return !n.length;
}
var xo = function() {
  var t = nn();
  return function(n, r) {
    var o = No(r), i = wo(r), s = vx(r), a;
    if (Object.keys(t.props).includes(n) && (a = t.props[n]), !(a === !1 || a === null)) {
      if (a === !0)
        return lu(t, n, o) || i;
      if (vt(a))
        return a(Ft, o);
      var u = [void 0, o, ""].includes(a);
      return (u || s) && (t.slots[Oo(n)] || t.slots[Co(n)]) ? lu(t, n, o) : a;
    }
  };
}, sf = function() {
  var t = xo();
  return function(n, r, o) {
    var i = No(o), s = wo(o), a = i ? {
      params: i
    } : void 0, u = t(n, a), l = t(r, a), c = cu(u) ? l : u;
    return cu(c) ? s : c;
  };
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var AD = It, SD = Ze, PD = "[object Boolean]";
function FD(e) {
  return e === !0 || e === !1 || SD(e) && AD(e) == PD;
}
var Dr = FD;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function ID(e) {
  var t = nn(), n = K(function() {
    return t.props.disabled;
  }), r = hn("formDisabled", /* @__PURE__ */ Object.create(null));
  return K(function() {
    var o;
    return Dr(e == null ? void 0 : e.beforeDisabled.value) ? e.beforeDisabled.value : Dr(n.value) ? n.value : Dr(e == null ? void 0 : e.afterDisabled.value) ? e.afterDisabled.value : Dr((o = r.disabled) === null || o === void 0 ? void 0 : o.value) ? r.disabled.value : !1;
  });
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function fu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function Ko(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? fu(Object(n), !0).forEach(function(r) {
      he(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var MD = qe({
  name: "TButton",
  props: ED,
  setup: function(t, n) {
    var r = n.attrs, o = n.slots, i = xo(), s = sf(), a = Ne("button"), u = Dc(), l = u.STATUS, c = u.SIZE, f = je();
    TD(f);
    var p = ID(), h = K(function() {
      var _ = t.theme, P = t.variant;
      return _ || (P === "base" ? "primary" : "default");
    }), C = K(function() {
      return ["".concat(a.value), "".concat(a.value, "--variant-").concat(t.variant), "".concat(a.value, "--theme-").concat(h.value), he(he(he(he(he(he({}, c.value[t.size], t.size !== "medium"), l.value.disabled, p.value), l.value.loading, t.loading), "".concat(a.value, "--shape-").concat(t.shape), t.shape !== "rectangle"), "".concat(a.value, "--ghost"), t.ghost), c.value.block, t.block)];
    });
    return function() {
      var _ = s("default", "content"), P = t.loading ? z(_D, {
        inheritColor: !0
      }, null) : i("icon"), M = P && !_, q = t.suffix || o.suffix ? z("span", {
        className: "".concat(a.value, "__suffix")
      }, [i("suffix")]) : null;
      _ = _ ? z("span", {
        class: "".concat(a.value, "__text")
      }, [_]) : "", P && (_ = [P, _]), q && (_ = [_].concat(q));
      var j = function() {
        return !t.tag && t.href ? "a" : t.tag || "button";
      }, J = {
        class: [].concat(Hl(C.value), [he({}, "".concat(a.value, "--icon-only"), M)]),
        type: t.type,
        disabled: p.value || t.loading,
        href: t.href,
        tabindex: p.value ? void 0 : "0"
      };
      return Ft(j(), Ko(Ko(Ko({
        ref: f
      }, r), J), {}, {
        onClick: t.onClick
      }), [_]);
    };
  }
});
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var Wo = of(MD);
function hr(e, t, n) {
  return t in e ? Object.defineProperty(e, t, {
    value: n,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = n, e;
}
function du(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function pu(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? du(Object(n), !0).forEach(function(r) {
      hr(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : du(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
function BD(e) {
  var t = ["fillOpacity", "fillRule", "clipRule"];
  return t.includes(e) ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : e;
}
function gr(e, t) {
  var n = Object.keys(e.attrs).reduce((r, o) => (r[BD(o)] = e.attrs[o], r), {});
  return Ft(e.tag, pu(pu({}, n), t), (e.children || []).map((r) => gr(r, {})));
}
var jD = "t", LD = "zh-CN", VD = {
  classPrefix: jD,
  locale: LD
};
const RD = VD;
function kD() {
  var {
    classPrefix: e
  } = RD;
  return {
    SIZE: {
      default: "",
      xs: "".concat(e, "-size-xs"),
      small: "".concat(e, "-size-s"),
      medium: "".concat(e, "-size-m"),
      large: "".concat(e, "-size-l"),
      xl: "".concat(e, "-size-xl"),
      block: "".concat(e, "-size-full-width")
    },
    STATUS: {
      loading: "".concat(e, "-is-loading"),
      disabled: "".concat(e, "-is-disabled"),
      focused: "".concat(e, "-is-focused"),
      success: "".concat(e, "-is-success"),
      error: "".concat(e, "-is-error"),
      warning: "".concat(e, "-is-warning"),
      selected: "".concat(e, "-is-selected"),
      active: "".concat(e, "-is-active"),
      checked: "".concat(e, "-is-checked"),
      current: "".concat(e, "-is-current"),
      hidden: "".concat(e, "-is-hidden"),
      visible: "".concat(e, "-is-visible"),
      expanded: "".concat(e, "-is-expanded"),
      indeterminate: "".concat(e, "-is-indeterminate")
    }
  };
}
function Do(e) {
  var t = kD().SIZE, n = K(() => e.value in t ? t[e.value] : ""), r = K(() => e.value === void 0 || e.value in t ? {} : {
    fontSize: e.value
  });
  return {
    style: r,
    className: n
  };
}
function vu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function hu(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? vu(Object(n), !0).forEach(function(r) {
      hr(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var HD = {
  tag: "svg",
  attrs: {
    fill: "none",
    viewBox: "0 0 24 24",
    width: "1em",
    height: "1em"
  },
  children: [{
    tag: "path",
    attrs: {
      fill: "currentColor",
      d: "M12 23a11 11 0 100-22 11 11 0 000 22zM7.5 10.59l3 3 6-6L17.91 9l-7.41 7.41L6.09 12l1.41-1.41z"
    }
  }]
}, UD = qe({
  name: "CheckCircleFilledIcon",
  props: {
    size: {
      type: String
    },
    onClick: {
      type: Function
    }
  },
  setup(e, t) {
    var {
      attrs: n
    } = t, r = K(() => e.size), {
      className: o,
      style: i
    } = Do(r), s = K(() => ["t-icon", "t-icon-check-circle-filled", o.value]), a = K(() => hu(hu({}, i.value), n.style)), u = K(() => ({
      class: s.value,
      style: a.value,
      onClick: (l) => {
        var c;
        return (c = e.onClick) === null || c === void 0 ? void 0 : c.call(e, {
          e: l
        });
      }
    }));
    return () => gr(HD, u.value);
  }
});
const zD = UD;
function gu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function mu(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? gu(Object(n), !0).forEach(function(r) {
      hr(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var KD = {
  tag: "svg",
  attrs: {
    fill: "none",
    viewBox: "0 0 24 24",
    width: "1em",
    height: "1em"
  },
  children: [{
    tag: "path",
    attrs: {
      fill: "currentColor",
      d: "M7.05 5.64L12 10.59l4.95-4.95 1.41 1.41L13.41 12l4.95 4.95-1.41 1.41L12 13.41l-4.95 4.95-1.41-1.41L10.59 12 5.64 7.05l1.41-1.41z"
    }
  }]
}, WD = qe({
  name: "CloseIcon",
  props: {
    size: {
      type: String
    },
    onClick: {
      type: Function
    }
  },
  setup(e, t) {
    var {
      attrs: n
    } = t, r = K(() => e.size), {
      className: o,
      style: i
    } = Do(r), s = K(() => ["t-icon", "t-icon-close", o.value]), a = K(() => mu(mu({}, i.value), n.style)), u = K(() => ({
      class: s.value,
      style: a.value,
      onClick: (l) => {
        var c;
        return (c = e.onClick) === null || c === void 0 ? void 0 : c.call(e, {
          e: l
        });
      }
    }));
    return () => gr(KD, u.value);
  }
});
const YD = WD;
function yu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function bu(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? yu(Object(n), !0).forEach(function(r) {
      hr(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var GD = {
  tag: "svg",
  attrs: {
    fill: "none",
    viewBox: "0 0 24 24",
    width: "1em",
    height: "1em"
  },
  children: [{
    tag: "path",
    attrs: {
      fill: "currentColor",
      d: "M12 1a11 11 0 110 22 11 11 0 010-22zm-1 13h2V6.5h-2V14zm2 1.5h-2v2h2v-2z"
    }
  }]
}, qD = qe({
  name: "ErrorCircleFilledIcon",
  props: {
    size: {
      type: String
    },
    onClick: {
      type: Function
    }
  },
  setup(e, t) {
    var {
      attrs: n
    } = t, r = K(() => e.size), {
      className: o,
      style: i
    } = Do(r), s = K(() => ["t-icon", "t-icon-error-circle-filled", o.value]), a = K(() => bu(bu({}, i.value), n.style)), u = K(() => ({
      class: s.value,
      style: a.value,
      onClick: (l) => {
        var c;
        return (c = e.onClick) === null || c === void 0 ? void 0 : c.call(e, {
          e: l
        });
      }
    }));
    return () => gr(GD, u.value);
  }
});
const ZD = qD;
function _u(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function Eu(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? _u(Object(n), !0).forEach(function(r) {
      hr(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _u(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var JD = {
  tag: "svg",
  attrs: {
    fill: "none",
    viewBox: "0 0 24 24",
    width: "1em",
    height: "1em"
  },
  children: [{
    tag: "path",
    attrs: {
      fill: "currentColor",
      d: "M12 23a11 11 0 100-22 11 11 0 000 22zM11 8.5v-2h2v2h-2zm2 1.5v7.5h-2V10h2z"
    }
  }]
}, XD = qe({
  name: "InfoCircleFilledIcon",
  props: {
    size: {
      type: String
    },
    onClick: {
      type: Function
    }
  },
  setup(e, t) {
    var {
      attrs: n
    } = t, r = K(() => e.size), {
      className: o,
      style: i
    } = Do(r), s = K(() => ["t-icon", "t-icon-info-circle-filled", o.value]), a = K(() => Eu(Eu({}, i.value), n.style)), u = K(() => ({
      class: s.value,
      style: a.value,
      onClick: (l) => {
        var c;
        return (c = e.onClick) === null || c === void 0 ? void 0 : c.call(e, {
          e: l
        });
      }
    }));
    return () => gr(JD, u.value);
  }
});
const QD = XD;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function eT(e) {
  var t = vr("icon"), n = t.globalConfig, r = {};
  return Object.keys(e).forEach(function(o) {
    var i;
    r[o] = ((i = n.value) === null || i === void 0 ? void 0 : i[o]) || e[o];
  }), r;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var tT = "t-display-none-element-refresh";
function nT() {
  var e = je(0);
  $l(tT, e), gl(function() {
    e.value += 1;
  });
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function rT(e) {
  var t = e == null ? 0 : e.length;
  return t ? e[t - 1] : void 0;
}
var oT = rT;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var $u = $n, iT = ar, sT = ke, Ou = $u ? $u.isConcatSpreadable : void 0;
function aT(e) {
  return sT(e) || iT(e) || !!(Ou && e && e[Ou]);
}
var uT = aT, lT = ns, cT = uT;
function af(e, t, n, r, o) {
  var i = -1, s = e.length;
  for (n || (n = cT), o || (o = []); ++i < s; ) {
    var a = e[i];
    t > 0 && n(a) ? t > 1 ? af(a, t - 1, n, r, o) : lT(o, a) : r || (o[o.length] = a);
  }
  return o;
}
var fT = af, dT = fT;
function pT(e) {
  var t = e == null ? 0 : e.length;
  return t ? dT(e, 1) : [];
}
var vT = pT, hT = vT, gT = nc, mT = rc;
function yT(e) {
  return mT(gT(e, void 0, hT), e + "");
}
var bT = yT;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var _T = us, ET = Sc;
function $T(e, t) {
  return t.length < 2 ? e : _T(e, ET(t, 0, -1));
}
var OT = $T, CT = $o, wT = oT, NT = OT, xT = pr;
function DT(e, t) {
  return t = CT(t, e), e = NT(e, t), e == null || delete e[xT(wT(t))];
}
var TT = DT, AT = ic;
function ST(e) {
  return AT(e) ? void 0 : e;
}
var PT = ST, FT = wc, IT = O$, MT = TT, BT = $o, jT = xn, LT = PT, VT = bT, RT = bc, kT = 1, HT = 2, UT = 4, zT = VT(function(e, t) {
  var n = {};
  if (e == null)
    return n;
  var r = !1;
  t = FT(t, function(i) {
    return i = BT(i, e), r || (r = i.length > 1), i;
  }), jT(e, RT(e), n), r && (n = IT(n, kT | HT | UT, LT));
  for (var o = t.length; o--; )
    MT(n, t[o]);
  return n;
}), uf = zT;
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function KT(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function Cu(e, t) {
  for (var n = 0; n < t.length; n++) {
    var r = t[n];
    r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ul(r.key), r);
  }
}
function WT(e, t, n) {
  return t && Cu(e.prototype, t), n && Cu(e, n), Object.defineProperty(e, "prototype", {
    writable: !1
  }), e;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var YT = {
  attach: {
    type: [String, Function]
  },
  body: {
    type: [String, Function]
  },
  cancelBtn: {
    type: [String, Object, Function]
  },
  closeBtn: {
    type: [String, Boolean, Function],
    default: !0
  },
  closeOnEscKeydown: {
    type: Boolean,
    default: void 0
  },
  closeOnOverlayClick: {
    type: Boolean,
    default: void 0
  },
  confirmBtn: {
    type: [String, Object, Function]
  },
  confirmLoading: {
    type: Boolean,
    default: void 0
  },
  confirmOnEnter: Boolean,
  default: {
    type: [String, Function]
  },
  destroyOnClose: Boolean,
  draggable: Boolean,
  footer: {
    type: [Boolean, Function],
    default: !0
  },
  header: {
    type: [String, Boolean, Function],
    default: !0
  },
  mode: {
    type: String,
    default: "modal",
    validator: function(t) {
      return t ? ["modal", "modeless", "normal", "full-screen"].includes(t) : !0;
    }
  },
  placement: {
    type: String,
    default: "top",
    validator: function(t) {
      return t ? ["top", "center"].includes(t) : !0;
    }
  },
  preventScrollThrough: {
    type: Boolean,
    default: !0
  },
  showInAttachedElement: Boolean,
  showOverlay: {
    type: Boolean,
    default: !0
  },
  theme: {
    type: String,
    default: "default",
    validator: function(t) {
      return t ? ["default", "info", "warning", "danger", "success"].includes(t) : !0;
    }
  },
  top: {
    type: [String, Number]
  },
  visible: Boolean,
  width: {
    type: [String, Number]
  },
  zIndex: {
    type: Number
  },
  onCancel: Function,
  onClose: Function,
  onCloseBtnClick: Function,
  onClosed: Function,
  onConfirm: Function,
  onEscKeydown: Function,
  onOpened: Function,
  onOverlayClick: Function
};
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function wu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function un(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? wu(Object(n), !0).forEach(function(r) {
      he(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
function GT(e) {
  var t = nn(), n = xo(), r = function(l) {
    var c, f = l.globalConfirm, p = l.theme, h = l.globalConfirmBtnTheme, C = ((c = uf(h, ["info"])) === null || c === void 0 ? void 0 : c[p]) || "primary", _ = {
      theme: C,
      size: l.size,
      onClick: function(M) {
        e.confirmBtnAction(M);
      }
    };
    return mn(f) ? _.content = f : Pe(f) && (_ = un(un({}, _), f)), _;
  }, o = function(l) {
    var c = l.globalCancel, f = {
      theme: "default",
      size: l.size,
      onClick: function(h) {
        e.cancelBtnAction(h);
      }
    };
    return mn(c) ? f.content = c : Pe(c) && (f = un(un({}, f), c)), f;
  }, i = function(l, c) {
    var f = c.defaultButtonProps, p = c.className, h = c.confirmLoading, C = f;
    return mn(l) ? C.content = l : Pe(l) && (C = un(un({}, C), l)), h !== void 0 && (C.loading = h), z(Wo, ct({
      class: p
    }, C), null);
  }, s = function(l) {
    var c = l.confirmBtn, f = l.className, p = l.confirmLoading;
    if (c === null)
      return null;
    c && t.slots.confirmBtn && console.warn("Both $props.confirmBtn and $scopedSlots.confirmBtn exist, $props.confirmBtn is preferred.");
    var h = r(l);
    return !c && !t.slots.confirmBtn ? z(Wo, ct({
      class: f,
      loading: p
    }, h), null) : c && ["string", "object"].includes(we(c)) ? i(c, {
      defaultButtonProps: h,
      className: f,
      confirmLoading: p
    }) : n("confirmBtn");
  }, a = function(l) {
    var c = l.cancelBtn, f = l.className;
    if (c === null)
      return null;
    c && t.slots.cancelBtn && console.warn("Both $props.cancelBtn and $scopedSlots.cancelBtn exist, $props.cancelBtn is preferred.");
    var p = o(l);
    return !c && !t.slots.cancelBtn ? z(Wo, ct({
      class: f
    }, p), null) : c && ["string", "object"].includes(we(c)) ? i(c, {
      defaultButtonProps: p
    }) : n("cancelBtn");
  };
  return {
    getConfirmBtn: s,
    getCancelBtn: a
  };
}
function qT(e) {
  var t = !1, n = !1, r = function(a) {
    t && n && e(a), t = !1, n = !1;
  }, o = function(a) {
    t = a.target === a.currentTarget;
  }, i = function(a) {
    n = a.target === a.currentTarget;
  };
  return {
    onClick: r,
    onMousedown: o,
    onMouseup: i
  };
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function ZT() {
  var e = document.createElement("div");
  e.style.cssText = "width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;", document.body.appendChild(e);
  var t = e.offsetWidth - e.clientWidth;
  return document.body.removeChild(e), t;
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
var JT = 1e3, XT = 5e3, QT = 1, eA = /* @__PURE__ */ WT(function e() {
  var t = this;
  KT(this, e), he(this, "popupStack", {
    popup: /* @__PURE__ */ new Set(),
    dialog: /* @__PURE__ */ new Set(),
    message: /* @__PURE__ */ new Set()
  }), he(this, "getNextZIndex", function(n) {
    var r = n === "message" ? Array.from(t.popupStack.message).pop() || XT : Array.from(t.popupStack.popup).pop() || JT;
    return r + QT;
  }), he(this, "add", function(n) {
    var r = t.getNextZIndex(n);
    return t.popupStack[n].add(r), n === "dialog" && t.popupStack.popup.add(r), r;
  }), he(this, "delete", function(n, r) {
    t.popupStack[r].delete(n), r === "dialog" && t.popupStack.popup.delete(n);
  }), he(this, "isLastDialog", function(n) {
    return t.popupStack.dialog.size > 1 ? n === Array.from(t.popupStack.dialog).pop() : !0;
  });
}), Yo = new eA();
function tA(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.visible, r = t.runOnMounted, o = je(0), i = function() {
    o.value = Yo.add(e);
  }, s = function() {
    Yo.delete(o.value, e);
  }, a = function() {
    return e === "dialog" ? Yo.isLastDialog(o.value) : !1;
  };
  return dt(function() {
    return n == null ? void 0 : n.value;
  }, function(u) {
    u ? i() : s();
  }, {
    immediate: !0
  }), r && (gt(function() {
    i();
  }), uo(function() {
    s();
  })), {
    zIndex: Ii(o),
    open: i,
    close: s,
    isLastDialog: a
  };
}
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function Nu(e) {
  return Number.isNaN(Number(e)) ? e : "".concat(Number(e), "px");
}
var Wn, nA = function(t) {
  Wn = {
    x: t.clientX,
    y: t.clientY
  }, setTimeout(function() {
    Wn = null;
  }, 100);
};
typeof window < "u" && window.document && window.document.documentElement && document.documentElement.addEventListener("click", nA, !0);
function rA(e) {
  var t = e, n = window.innerWidth || document.documentElement.clientWidth, r = window.innerHeight || document.documentElement.clientHeight;
  t.addEventListener("mousedown", function(o) {
    var i = o.clientX - t.offsetLeft, s = o.clientY - t.offsetTop, a = t.offsetWidth, u = t.offsetHeight;
    if (a > n || u > r)
      return;
    function l(f) {
      var p = f.clientX - i, h = f.clientY - s;
      p < 0 && (p = 0), h < 0 && (h = 0), n - t.offsetWidth - p < 0 && (p = n - t.offsetWidth), r - t.offsetHeight - h < 0 && (h = r - t.offsetHeight), t.style.position = "absolute", t.style.left = "".concat(p, "px"), t.style.top = "".concat(h, "px");
    }
    function c() {
      document.removeEventListener("mousemove", l), document.removeEventListener("mouseup", c);
    }
    document.addEventListener("mousemove", l), document.addEventListener("mouseup", c), document.addEventListener("dragend", c);
  });
}
var oA = 1, iA = qe({
  name: "TDialog",
  directives: {
    draggable: function(t, n) {
      t && n && n.value && rA(t);
    }
  },
  inheritAttrs: !1,
  props: YT,
  emits: ["update:visible"],
  setup: function(t, n) {
    var r = this, o = Ne("dialog"), i = Ne(), s = sf(), a = xo(), u = je(null), l = vr("dialog"), c = l.globalConfig, f = eT({
      CloseIcon: YD,
      InfoCircleFilledIcon: QD,
      CheckCircleFilledIcon: zD,
      ErrorCircleFilledIcon: ZD
    }), p = f.CloseIcon, h = f.InfoCircleFilledIcon, C = f.CheckCircleFilledIcon, _ = f.ErrorCircleFilledIcon, P = function(m) {
      var y;
      (y = t.onConfirm) === null || y === void 0 || y.call(t, {
        e: m
      });
    }, M = function(m) {
      var y;
      (y = t.onCancel) === null || y === void 0 || y.call(t, {
        e: m
      }), v({
        e: m,
        trigger: "cancel"
      });
    }, q = GT({
      confirmBtnAction: P,
      cancelBtnAction: M
    }), j = q.getConfirmBtn, J = q.getCancelBtn, S = Qc(function() {
      return t.attach;
    });
    nT();
    var te = je(), ee = je(), R = K(function() {
      return t.mode === "modal";
    }), W = K(function() {
      return t.mode === "modeless";
    }), H = K(function() {
      return t.mode === "normal";
    }), I = K(function() {
      return t.mode === "full-screen";
    }), F = K(function() {
      return t.visible;
    }), se = K(function() {
      return ["".concat(o.value, "__mask"), !t.showOverlay && "".concat(i.value, "-is-hidden")];
    }), X = K(function() {
      return H.value ? [] : I.value ? ["".concat(o.value, "__position_fullscreen")] : ["".concat(o.value, "__position"), !!t.top && "".concat(o.value, "--top"), "".concat(t.placement && !t.top ? "".concat(o.value, "--").concat(t.placement) : "")];
    }), N = K(function() {
      return [!H.value && "".concat(o.value, "__wrap")];
    }), T = K(function() {
      if (I.value)
        return {};
      var b = t.top, m = {};
      if (b !== void 0) {
        var y = Nu(b);
        m = {
          paddingTop: y
        };
      }
      return m;
    }), D = K(function() {
      var b = ["".concat(o.value), "".concat(o.value, "__modal-").concat(t.theme), W.value && t.draggable && "".concat(o.value, "--draggable")];
      return I.value ? b.push("".concat(o.value, "__fullscreen")) : b.push.apply(b, ["".concat(o.value, "--default"), "".concat(o.value, "--").concat(t.placement)]), b;
    }), E = K(function() {
      return I.value ? {} : {
        width: Nu(t.width)
      };
    }), k = tA("dialog", {
      visible: F
    }), Y = k.isLastDialog;
    dt(function() {
      return t.visible;
    }, function(b) {
      if (b) {
        var m;
        (R.value && !t.showInAttachedElement || I.value) && (t.preventScrollThrough && document.body.appendChild(ee.value), oo(function() {
          Wn && u.value && (u.value.style.transformOrigin = "".concat(Wn.x - u.value.offsetLeft, "px ").concat(Wn.y - u.value.offsetTop, "px"));
        })), (m = document.activeElement) === null || m === void 0 || m.blur();
      } else
        ae();
      ue(b);
    });
    function oe() {
      var b, m;
      (b = ee.value.parentNode) === null || b === void 0 || (m = b.removeChild) === null || m === void 0 || m.call(b, ee.value);
    }
    function ae() {
      clearTimeout(te.value), te.value = setTimeout(function() {
        oe();
      }, 150);
    }
    var ue = function(m) {
      m ? (document.addEventListener("keydown", Te), t.confirmOnEnter && document.addEventListener("keydown", me)) : (document.removeEventListener("keydown", Te), t.confirmOnEnter && document.removeEventListener("keydown", me));
    }, me = function(m) {
      var y = m.target;
      if (y.tagName.toLowerCase() !== "input") {
        var x = m.code;
        if ((x === "Enter" || x === "NumpadEnter") && Y()) {
          var w;
          (w = t.onConfirm) === null || w === void 0 || w.call(t, {
            e: m
          });
        }
      }
    }, Te = function(m) {
      if (m.code === "Escape" && Y()) {
        var y, x;
        (y = t.onEscKeydown) === null || y === void 0 || y.call(t, {
          e: m
        }), ((x = t.closeOnEscKeydown) !== null && x !== void 0 ? x : c.value.closeOnEscKeydown) && v({
          e: m,
          trigger: "esc"
        });
      }
    }, Le = function(m) {
      var y;
      if (t.showOverlay && ((y = t.closeOnOverlayClick) !== null && y !== void 0 ? y : c.value.closeOnOverlayClick)) {
        var x;
        (x = t.onOverlayClick) === null || x === void 0 || x.call(t, {
          e: m
        }), v({
          e: m,
          trigger: "overlay"
        });
      }
    }, be = qT(Le), He = be.onClick, at = be.onMousedown, Ee = be.onMouseup, $e = function(m) {
      var y;
      (y = t.onCloseBtnClick) === null || y === void 0 || y.call(t, {
        e: m
      }), v({
        trigger: "close-btn",
        e: m
      });
    }, Fe = function() {
      var m;
      (m = t.onOpened) === null || m === void 0 || m.call(t);
    }, d = function() {
      var m;
      W.value && t.draggable && u.value && (u.value.style.position = "relative", u.value.style.left = "unset", u.value.style.top = "unset"), (m = t.onClosed) === null || m === void 0 || m.call(t);
    }, v = function(m) {
      var y;
      (y = t.onClose) === null || y === void 0 || y.call(t, m), n.emit("update:visible", !1);
    }, g = function(m) {
      var y, x = (y = r._events) === null || y === void 0 ? void 0 : y[m];
      return !!(x != null && x.length);
    }, O = function() {
      var m = {
        info: z(h, {
          class: "".concat(i.value, "-is-info")
        }, null),
        warning: z(_, {
          class: "".concat(i.value, "-is-warning")
        }, null),
        danger: z(_, {
          class: "".concat(i.value, "-is-error")
        }, null),
        success: z(C, {
          class: "".concat(i.value, "-is-success")
        }, null)
      };
      return m[t.theme];
    }, $ = function() {
      var m = z("h5", {
        class: "title"
      }, null), y = z(p, null, null), x = s("default", "body"), w = z("div", null, [J({
        cancelBtn: t.cancelBtn,
        globalCancel: c.value.cancel,
        className: "".concat(o.value, "__cancel")
      }), j({
        theme: t.theme,
        confirmBtn: t.confirmBtn,
        globalConfirm: c.value.confirm,
        globalConfirmBtnTheme: c.value.confirmBtnTheme,
        className: "".concat(o.value, "__confirm"),
        confirmLoading: t.confirmLoading
      })]), L = I.value ? ["".concat(o.value, "__header"), "".concat(o.value, "__header--fullscreen")] : "".concat(o.value, "__header"), B = I.value ? ["".concat(o.value, "__close"), "".concat(o.value, "__close--fullscreen")] : "".concat(o.value, "__close"), V = t.theme === "default" ? ["".concat(o.value, "__body")] : ["".concat(o.value, "__body__icon")], G = a("footer", w);
      I.value && G ? V.push("".concat(o.value, "__body--fullscreen")) : I.value && V.push("".concat(o.value, "__body--fullscreen--without-footer"));
      var ne = I.value ? ["".concat(o.value, "__footer"), "".concat(o.value, "__footer--fullscreen")] : "".concat(o.value, "__footer"), ie = function(ye) {
        W.value && t.draggable && ye.stopPropagation();
      };
      return z("div", {
        class: N.value
      }, [z("div", {
        class: X.value,
        style: T.value,
        onClick: He,
        onMousedown: at,
        onMouseup: Ee
      }, [Ds(z("div", {
        key: "dialog",
        class: D.value,
        style: E.value,
        ref: u
      }, [z("div", {
        class: L,
        onMousedown: ie
      }, [z("div", {
        class: "".concat(o.value, "__header-content")
      }, [O(), a("header", m)]), t.closeBtn ? z("span", {
        class: B,
        onClick: $e
      }, [a("closeBtn", y)]) : null]), z("div", {
        class: V,
        onMousedown: ie
      }, [x]), G && z("div", {
        class: ne,
        onMousedown: ie
      }, [G])]), [[rp("draggable"), W.value && t.draggable]])])]);
    };
    return gt(function() {
      var b = document.documentElement.scrollHeight > document.documentElement.clientHeight, m = b ? ZT() : 0;
      ee.value = document.createElement("style"), ee.value.dataset.id = "td_dialog_".concat(+/* @__PURE__ */ new Date(), "_").concat(oA += 1), ee.value.innerHTML = `
        html body {
          overflow-y: hidden;
          width: calc(100% - `.concat(m, `px);
        }
      `);
    }), uo(function() {
      ue(!1), oe();
    }), {
      COMPONENT_NAME: o,
      isModal: R,
      isModeLess: W,
      isFullScreen: I,
      maskClass: se,
      dialogClass: D,
      dialogStyle: E,
      dialogEle: u,
      afterEnter: Fe,
      afterLeave: d,
      hasEventOn: g,
      renderDialog: $,
      teleportElement: S
    };
  },
  render: function() {
    var t = this, n = this.COMPONENT_NAME, r = (this.isModal || this.isFullScreen) && z("div", {
      key: "mask",
      class: this.maskClass
    }, null), o = this.renderDialog(), i = [r, o], s = {
      zIndex: this.zIndex
    }, a = ["".concat(n, "__ctx"), he(he(he({}, "".concat(n, "__ctx--fixed"), this.isModal || this.isFullScreen), "".concat(n, "__ctx--absolute"), this.isModal && this.showInAttachedElement), "".concat(n, "__ctx--modeless"), this.isModeLess)];
    return z(fi, {
      disabled: !this.attach || !this.teleportElement,
      to: this.teleportElement
    }, {
      default: function() {
        return [z(Yi, {
          duration: 300,
          name: "".concat(n, "-zoom__vue"),
          onAfterEnter: t.afterEnter,
          onAfterLeave: t.afterLeave
        }, {
          default: function() {
            return [(!t.destroyOnClose || t.visible) && Ds(z("div", ct({
              class: a,
              style: s
            }, t.$attrs), [i]), [[Ev, t.visible]])];
          }
        })];
      }
    });
  }
});
/**
 * tdesign v1.9.0
 * (c) 2024 tdesign
 * @license MIT
 */
function xu(e, t) {
  var n = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function kn(e) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? xu(Object(n), !0).forEach(function(r) {
      he(e, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xu(Object(n)).forEach(function(r) {
      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e;
}
var To = function(t) {
  var n = kn({}, t), r = document.createElement("div"), o = je(!1), i = n.className, s = n.style, a = i, u = function(_, P) {
    if (_) {
      if (a && a !== _) {
        var M;
        (M = r.firstElementChild.classList).remove.apply(M, Hl(a.split(" ").map(function(q) {
          return q.trim();
        })));
      }
      _.split(" ").forEach(function(q) {
        r.firstElementChild.classList.add(q.trim());
      });
    }
    P && (r.firstElementChild.style.cssText += P), a = _;
  }, l = qe({
    setup: function(_, P) {
      var M = P.expose, q = je(n);
      gt(function() {
        o.value = !0, document.activeElement.blur(), oo(function() {
          u(i, s);
        });
      });
      var j = function(S) {
        q.value = kn(kn({}, n), S);
      };
      return M({
        update: j
      }), function() {
        var J = n.onClose || function() {
          o.value = !1;
        };
        return delete n.className, delete n.style, Ft(iA, kn({
          onClose: J,
          visible: o.value
        }, q.value));
      };
    }
  }), c = Rl(l), f = c.mount(r), p = cs(n.attach);
  p ? p.appendChild(r) : console.error("attach is not exist");
  var h = {
    show: function() {
      o.value = !0;
    },
    hide: function() {
      o.value = !1;
    },
    update: function(_) {
      f.update(uf(_, ["className", "style"])), u(_.className, _.style);
    },
    destroy: function() {
      o.value = !1, setTimeout(function() {
        c.unmount(), r.remove();
      }, 300);
    },
    setConfirmLoading: function(_) {
      f.update({
        confirmLoading: _
      });
    }
  };
  return h;
}, sA = function(t) {
  return To(t);
}, aA = function(t) {
  var n = kn({}, t);
  return n.cancelBtn = null, To(n);
}, qr = {
  confirm: sA,
  alert: aA
}, fs = To;
fs.install = function(e) {
  e.config.globalProperties.$dialog = To, Object.keys(qr).forEach(function(t) {
    e.config.globalProperties.$dialog[t] = qr[t];
  });
};
Object.keys(qr).forEach(function(e) {
  fs[e] = qr[e];
});
const uA = { key: 0 }, lA = { key: 0 }, cA = /* @__PURE__ */ qe({
  __name: "index",
  props: {
    text: { default: "高级按钮" },
    icon: {},
    theme: {},
    variant: {},
    loading: { type: Boolean, default: !1 },
    disabled: { type: Boolean, default: !1 },
    block: { type: Boolean },
    size: {},
    shape: {},
    mode: { default: "default" },
    content: { type: [String, Function], default: "高级按钮提示内容" },
    popupTheme: {},
    popupProps: {},
    popupIcon: {},
    confirmBtn: {},
    cancelBtn: {},
    dialogHeader: { default: "系统提示" },
    closeOnEscKeydown: { type: Boolean, default: !1 },
    closeOnOverlayClick: { type: Boolean, default: !1 },
    zIndex: {}
  },
  emits: ["update:loading", "confirm", "cancel", "click"],
  setup(e, { emit: t }) {
    const n = e, r = ap(), o = je(n.loading);
    function i() {
      t("confirm", null);
    }
    function s() {
      t("cancel", null);
    }
    function a() {
      if (n.mode === "default")
        t("click");
      else if (n.mode === "dialog") {
        const u = fs.confirm({
          body: n.content,
          header: n.dialogHeader,
          zIndex: n.zIndex,
          cancelBtn: n.cancelBtn,
          confirmBtn: n.confirmBtn,
          closeBtn: !1,
          closeOnEscKeydown: n.closeOnEscKeydown,
          onConfirm() {
            t("confirm", u);
          },
          onCancel() {
            t("cancel", u);
          }
        });
      }
    }
    return dt(() => n.loading, (u) => {
      o.value = u;
    }), dt(o, (u) => t("update:loading", u)), (u, l) => {
      const c = Fo("t-icon"), f = Fo("t-button"), p = Fo("t-popconfirm");
      return n.mode === "popup" ? (Et(), cn(p, {
        key: 0,
        onConfirm: i,
        onCancel: s,
        "confirm-btn": n.confirmBtn,
        "cancel-btn": n.cancelBtn,
        content: n.content,
        "popup-props": n.popupProps,
        theme: n.popupTheme
      }, Io({
        default: _t(() => [
          z(f, {
            size: n.size,
            disabled: n.disabled,
            loading: o.value,
            theme: n.theme,
            variant: n.variant
          }, Io({
            default: _t(() => [
              Qe(r).default ? sn(u.$slots, "default", { key: 1 }) : (Et(), Hs("span", uA, gs(n.text), 1))
            ]),
            _: 2
          }, [
            n.icon || Qe(r).icon ? {
              name: "icon",
              fn: _t(() => [
                Qe(r).icon ? sn(u.$slots, "icon", { key: 1 }) : (Et(), cn(c, {
                  key: 0,
                  name: u.icon
                }, null, 8, ["name"]))
              ]),
              key: "0"
            } : void 0
          ]), 1032, ["size", "disabled", "loading", "theme", "variant"])
        ]),
        _: 2
      }, [
        Qe(r).content ? {
          name: "content",
          fn: _t(() => [
            sn(u.$slots, "content")
          ]),
          key: "0"
        } : void 0,
        Qe(r).popupIcon || n.popupIcon ? {
          name: "icon",
          fn: _t(() => [
            Qe(r).popupIcon ? sn(u.$slots, "popupIcon", { key: 1 }) : (Et(), cn(c, {
              key: 0,
              name: n.popupIcon
            }, null, 8, ["name"]))
          ]),
          key: "1"
        } : void 0
      ]), 1032, ["confirm-btn", "cancel-btn", "content", "popup-props", "theme"])) : (Et(), cn(f, {
        key: 1,
        onClick: a,
        size: n.size,
        disabled: n.disabled,
        loading: o.value,
        theme: n.theme,
        variant: n.variant
      }, Io({
        default: _t(() => [
          Qe(r).default ? sn(u.$slots, "default", { key: 1 }) : (Et(), Hs("span", lA, gs(n.text), 1))
        ]),
        _: 2
      }, [
        n.icon || Qe(r).icon ? {
          name: "icon",
          fn: _t(() => [
            Qe(r).icon ? sn(u.$slots, "icon", { key: 1 }) : (Et(), cn(c, {
              key: 0,
              name: u.icon
            }, null, 8, ["name"]))
          ]),
          key: "0"
        } : void 0
      ]), 1032, ["size", "disabled", "loading", "theme", "variant"]));
    };
  }
}), fA = {
  install(e) {
    e.component("ProButton", cA);
  }
};
export {
  fA as default
};
